Hello List, i´ve got a Problem with my maxExtent. I am always getting the whole world, but i don´t know why? That´s my code for implementing the map: [code] map = new OpenLayers.Map('karte');
layer = new OpenLayers.Layer.OSM( "Simple OSM Map");
map.addLayer(layer);
map.zoomToExtent(new OpenLayers.Bounds(100,-30,200,-50));
map = new OpenLayers.Map('karte');//Map EPSG 4326?????layer = new OpenLayers.Layer.OSM( "Simple OSM Map"); //OSM-EPSG:90013 map.addLayer(layer); map.zoomToExtent(new OpenLayers.Bounds(100,-30,200,-50)); [/code] when i now use the button maxExtent, i am getting the whole world- why? thanks tim
|
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
