From 3621df4bd128f99755de064f98ac646a05525149 Mon Sep 17 00:00:00 2001 From: Edgar Toll Date: Mon, 21 Nov 2016 13:25:59 +0100 Subject: [PATCH] Load OpenStreetMap tiles over https With the Ingress Intel map loaded over HTTPS the OpenStreetMap tiles currently are still loaded over HTTP. This is bad practice and causes a 'Mixed Content' warning in browsers such as Chrome or Firefox. --- plugins/basemap-openstreetmap.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/basemap-openstreetmap.user.js b/plugins/basemap-openstreetmap.user.js index 3c54aeed..4abe45c4 100644 --- a/plugins/basemap-openstreetmap.user.js +++ b/plugins/basemap-openstreetmap.user.js @@ -36,8 +36,8 @@ window.plugin.mapTileOpenStreetMap = { }; var layers = { - 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png': 'OpenStreetMap', - 'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png': 'Humanitarian', + 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png': 'OpenStreetMap', + 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png': 'Humanitarian', }; for(var url in layers) {