projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da76d64
)
The OSM layers use the 900913 projection, not 41001.
author
Tom Hughes
<tom@compton.nu>
Fri, 1 Feb 2008 19:54:20 +0000
(19:54 +0000)
committer
Tom Hughes
<tom@compton.nu>
Fri, 1 Feb 2008 19:54:20 +0000
(19:54 +0000)
public/openlayers/OpenStreetMap.js
patch
|
blob
|
history
diff --git
a/public/openlayers/OpenStreetMap.js
b/public/openlayers/OpenStreetMap.js
index 379e2d1cc4c93e0687749c71dfe888988f19e27b..13d36912597d8004b72f845470ace43c0dae06fb 100644
(file)
--- 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);