projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1878369
)
Set a transitionEffect of resize on the OSM layers, ready for OL 2.6.
author
Tom Hughes
<tom@compton.nu>
Mon, 31 Mar 2008 17:10:20 +0000
(17:10 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 31 Mar 2008 17:10:20 +0000
(17:10 +0000)
public/openlayers/OpenStreetMap.js
patch
|
blob
|
history
diff --git
a/public/openlayers/OpenStreetMap.js
b/public/openlayers/OpenStreetMap.js
index 13d36912597d8004b72f845470ace43c0dae06fb..c2acf2e0c8ef7035fe6d25cc20ca9265e6e28fc3 100644
(file)
--- a/
public/openlayers/OpenStreetMap.js
+++ b/
public/openlayers/OpenStreetMap.js
@@
-51,7
+51,8
@@
OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.TMS, {
maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
maxResolution: 156543,
units: "m",
- projection: "EPSG:900913"
+ projection: "EPSG:900913",
+ transitionEffect: "resize"
}, options);
var newArguments = [name, url, options];
OpenLayers.Layer.TMS.prototype.initialize.apply(this, newArguments);