aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenStreetMap.js
diff options
context:
space:
mode:
authorJon Kristensen <info@jonkri.com>2016-06-30 12:57:59 +0200
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-09-07 12:54:37 +0100
commit3be627cf4b593cf7e48f46512520e321142540b8 (patch)
tree4fc9ff9202b1f8205f86f3a01143fc4d8a1aa855 /web/js/map-OpenStreetMap.js
parentfa348afc2091ae554c37936a78b1f57cb9a7093c (diff)
Fetch MapQuest images via HTTPS rather than HTTP
Diffstat (limited to 'web/js/map-OpenStreetMap.js')
-rw-r--r--web/js/map-OpenStreetMap.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/js/map-OpenStreetMap.js b/web/js/map-OpenStreetMap.js
index b2d6a4f8b..a742e61ba 100644
--- a/web/js/map-OpenStreetMap.js
+++ b/web/js/map-OpenStreetMap.js
@@ -63,10 +63,10 @@ OpenLayers.Layer.OSM.MapQuestOpen = OpenLayers.Class(OpenLayers.Layer.OSM, {
*/
initialize: function(name, options) {
var url = [
- "http://otile1.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
- "http://otile2.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
- "http://otile3.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
- "http://otile4.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png"
+ "https://otile1-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
+ "https://otile2-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
+ "https://otile3-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
+ "https://otile4-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png"
];
options = OpenLayers.Util.extend({
/* Below line added to OSM's file in order to allow minimum zoom level */