Hi,
I am still having problems understanding scales and spherical mercator. Is it
possible to define the map scales so that they are not rediculous numbers. In
my
app it is not working.
http://maps.zgb.de/www/eeg/search.html
var map = new OpenLayers.Map("map",{
projection:epsg3857,
displayProjection: epsg4326,
units: "m",
scales: [1000000, 500000, 100000, 50000, 25000, 10000, 5000, 1000],
maxExtent: new OpenLayers.Bounds(-20037508, -20037508,20037508, 20037508),
restrictedExtent: new OpenLayers.Bounds(946290.410001, 6707196.356766,
1368222.80606, 6965247.764211),
controls: [new OpenLayers.Control.MouseDefaults()
,new OpenLayers.Control.PanZoomBar()
,new OpenLayers.Control.MousePosition()
,new OpenLayers.Control.ScaleLine({geodesic: true})]
});
thanks for any tips,
Rob_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users