From: Tom Hughes Date: Fri, 1 Feb 2008 19:54:20 +0000 (+0000) Subject: The OSM layers use the 900913 projection, not 41001. X-Git-Tag: live~7947 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/bf41ed31d87eb1623f1aa91c159c3d98872ba5ee?ds=inline The OSM layers use the 900913 projection, not 41001. --- diff --git a/public/openlayers/OpenStreetMap.js b/public/openlayers/OpenStreetMap.js index 379e2d1cc..13d369125 100644 --- a/public/openlayers/OpenStreetMap.js +++ b/public/openlayers/OpenStreetMap.js @@ -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);