From ef3c9515ccc09a3f4a8a8dbfc63c356259203b21 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 1 Feb 2018 20:17:01 +0000 Subject: [PATCH] Use https for default style tiles --- vendor/assets/openlayers/OpenStreetMap.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.43.2