From d5ada9fd07fd53a891775ebc9b3edec54840062f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 31 Mar 2008 17:10:20 +0000 Subject: [PATCH] Set a transitionEffect of resize on the OSM layers, ready for OL 2.6. --- public/openlayers/OpenStreetMap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/openlayers/OpenStreetMap.js b/public/openlayers/OpenStreetMap.js index 13d369125..c2acf2e0c 100644 --- 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); -- 2.43.2