]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/map.js
Fix offset when laying in vectors on top of the OSM tiles.
[rails.git] / public / javascripts / map.js
index 0dadbb9d355b1e11fc3f561abe7bbf42104cb100..bc2e9086326dbbbe1b24b6bdbc9da474c1ef9b7b 100644 (file)
@@ -19,7 +19,7 @@ function createMap(divName, options) {
          new OpenLayers.Control.ScaleLine()
       ],
       units: "m",
-      maxResolution: 156543,
+      maxResolution: 156543.0339,
       numZoomLevels: 20
    });