From: Peter Wendorff Date: Thu, 13 Jun 2013 16:11:12 +0000 (+0200) Subject: Update OpenStreetMap.js with correct attribution X-Git-Tag: live~4988 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/358b92e3e5ca3caadedd63eaddd8670f3340ec3d?ds=sidebyside Update OpenStreetMap.js with correct attribution --- diff --git a/vendor/assets/openlayers/OpenStreetMap.js b/vendor/assets/openlayers/OpenStreetMap.js index b6479a700..b09b14ef5 100644 --- a/vendor/assets/openlayers/OpenStreetMap.js +++ b/vendor/assets/openlayers/OpenStreetMap.js @@ -20,6 +20,7 @@ OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, { ]; options = OpenLayers.Util.extend({ numZoomLevels: 19, + 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);