X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bad28a6478fb5c96b438c18de1b1d90a456c7e6c..0bd6f889c5a4f8f13decd96d6ef478c29b0e388a:/vendor/assets/openlayers/OpenStreetMap.js?ds=sidebyside
diff --git a/vendor/assets/openlayers/OpenStreetMap.js b/vendor/assets/openlayers/OpenStreetMap.js
index b6479a700..44e338bbe 100644
--- a/vendor/assets/openlayers/OpenStreetMap.js
+++ b/vendor/assets/openlayers/OpenStreetMap.js
@@ -14,12 +14,13 @@ OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, {
*/
initialize: function(name, options) {
var url = [
- "http://a.tile.openstreetmap.org/${z}/${x}/${y}.png",
- "http://b.tile.openstreetmap.org/${z}/${x}/${y}.png",
- "http://c.tile.openstreetmap.org/${z}/${x}/${y}.png"
+ "https://a.tile.openstreetmap.org/${z}/${x}/${y}.png",
+ "https://b.tile.openstreetmap.org/${z}/${x}/${y}.png",
+ "https://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);