From: Tom Hughes Date: Thu, 1 Feb 2018 20:17:01 +0000 (+0000) Subject: Use https for default style tiles X-Git-Tag: live~3155 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ef3c9515ccc09a3f4a8a8dbfc63c356259203b21 Use https for default style tiles --- diff --git a/vendor/assets/openlayers/OpenStreetMap.js b/vendor/assets/openlayers/OpenStreetMap.js index e722c3a2f..44e338bbe 100644 --- a/vendor/assets/openlayers/OpenStreetMap.js +++ b/vendor/assets/openlayers/OpenStreetMap.js @@ -14,13 +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: 20, - attribution: "© OpenStreetMap contributors", + attribution: "© OpenStreetMap contributors", buffer: 0, transitionEffect: "resize" }, options);