]> git.openstreetmap.org Git - rails.git/commitdiff
Remove obsolete maxExtent from marker layer
authorTom Hughes <tom@compton.nu>
Thu, 12 Jul 2012 18:49:27 +0000 (19:49 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 12 Jul 2012 18:49:27 +0000 (19:49 +0100)
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);