X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..21683db838d66d5b14da08dd5fd467fae09515d4:/vendor/assets/openlayers/OpenStreetMap.js?ds=inline diff --git a/vendor/assets/openlayers/OpenStreetMap.js b/vendor/assets/openlayers/OpenStreetMap.js index b6479a700..e722c3a2f 100644 --- a/vendor/assets/openlayers/OpenStreetMap.js +++ b/vendor/assets/openlayers/OpenStreetMap.js @@ -19,7 +19,8 @@ OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, { "http://c.tile.openstreetmap.org/${z}/${x}/${y}.png" ]; options = OpenLayers.Util.extend({ - numZoomLevels: 19, + numZoomLevels: 20, + attribution: "© OpenStreetMap contributors", buffer: 0, transitionEffect: "resize" }, options); @@ -52,6 +53,7 @@ OpenLayers.Layer.OSM.CycleMap = OpenLayers.Class(OpenLayers.Layer.OSM, { ]; options = OpenLayers.Util.extend({ numZoomLevels: 19, + attribution: "© OpenStreetMap contributors, Tiles courtesy of Andy Allan", buffer: 0, transitionEffect: "resize" }, options); @@ -84,6 +86,7 @@ OpenLayers.Layer.OSM.TransportMap = OpenLayers.Class(OpenLayers.Layer.OSM, { ]; options = OpenLayers.Util.extend({ numZoomLevels: 19, + attribution: "© OpenStreetMap contributors, Tiles courtesy of Andy Allan", buffer: 0, transitionEffect: "resize" }, options);