X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bf41ed31d87eb1623f1aa91c159c3d98872ba5ee..26746224ccab42bb6b2f39edb524803831defc1a:/public/openlayers/OpenStreetMap.js 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);