Hi Thomas,
Thanks for the clear info on pastebin.
Your map settings are incorrect. Google Maps and OSM use "Google
Projection", EPSG:900913 and a displayProjection EPSG:4326. Yes this is
confusing but at least OSM and Google are alike in this. Like in the
original Heron example, the settings should be:
Heron.options.map.settings =
{
projection: 'EPSG:900913',
displayProjection: new OpenLayers.Projection("EPSG:4326"),
units: 'm',
maxExtent: '-20037508.34, -20037508.34, 20037508.34, 20037508.34',
center: '594576, 6831611',
maxResolution: 'auto',
xy_precision: 5,
zoom: 6,
theme: null
};
Your Options.js shows:
Heron.options.map.settings = {
projection: 'EPSG:4326',
units: 'dd',
// reolutions: [860.160, 430.080, 215.040, 107.520, 53.760,
26.880, 13.440, 6.720, 3.360, 1.680, 0.840, 0.420, 0.210, 0.105, 0.0525],
maxExtent: '-180.0, -90.0, 180.0, 90.0',
// center: '155000, 463000',
xy_precision: 3,
max_features: 10,
zoom: 1,
theme: null
};
Think/hope this will help, best,
Just