need to check if we have a center set or permalink won't work.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6754 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
map.addControl(new OpenLayers.Control.EditingToolbar(vector));
|
||||
map.addControl(new OpenLayers.Control.Permalink());
|
||||
map.addControl(new OpenLayers.Control.MousePosition());
|
||||
map.zoomToMaxExtent()
|
||||
if (!map.getCenter()) {map.zoomToMaxExtent()}
|
||||
}
|
||||
|
||||
function osm_getTileURL(bounds) {
|
||||
|
||||
Reference in New Issue
Block a user