]> git.openstreetmap.org Git - rails.git/blobdiff - public/openlayers/OpenStreetMap.js
Merge 7922:8377 from trunk.
[rails.git] / public / openlayers / OpenStreetMap.js
index c783dba20f2b940a48d2edbfbfbefd827a45a642..69e8840b2a33e5152da97bbc1a0d824cc225f416 100644 (file)
@@ -48,8 +48,8 @@ OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.TMS, {
     initialize: function(name, url, options) {
         options = OpenLayers.Util.extend({
             attribution: "Data by <a href='http://openstreetmap.org/'>OpenStreetMap</a>",
-            maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
-            maxResolution: 156543,
+            maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
+            maxResolution: 156543.0339,
             units: "m",
             projection: "EPSG:900913",
             transitionEffect: "resize"