X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bad28a6478fb5c96b438c18de1b1d90a456c7e6c..b10dd0949ddb7c6002b2bb1513c4c0a54f5fac4f:/vendor/assets/openlayers/OpenStreetMap.js
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);