]> git.openstreetmap.org Git - rails.git/commitdiff
The OSM layers use the 900913 projection, not 41001.
authorTom Hughes <tom@compton.nu>
Fri, 1 Feb 2008 19:54:20 +0000 (19:54 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 1 Feb 2008 19:54:20 +0000 (19:54 +0000)
public/openlayers/OpenStreetMap.js

index 379e2d1cc4c93e0687749c71dfe888988f19e27b..13d36912597d8004b72f845470ace43c0dae06fb 100644 (file)
@@ -51,7 +51,7 @@ OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.TMS, {
             maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
             maxResolution: 156543,
             units: "m",
-            projection: "EPSG:41001"
+            projection: "EPSG:900913"
         }, options);
         var newArguments = [name, url, options];
         OpenLayers.Layer.TMS.prototype.initialize.apply(this, newArguments);