]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Remove obsolete maxExtent from marker layer
[rails.git] / app / assets / javascripts / map.js.erb
index 9c3aa9e36078e5f91b52b0335c5c45f1d3e2fab8..094a02cd522c5802832ac54e82c7450906c71a3b 100644 (file)
@@ -67,7 +67,6 @@ function createMap(divName, options) {
    markers = new OpenLayers.Layer.Markers("Markers", {
       displayInLayerSwitcher: false,
       numZoomLevels: 20,
-      maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
       projection: "EPSG:900913"
    });
    map.addLayer(markers);