From 58636c5ef1a7d63e4e3645fd44cb5ad50ac8581b Mon Sep 17 00:00:00 2001 From: Steinsplitter Date: Sun, 10 Apr 2016 11:40:52 +0200 Subject: [PATCH 1/2] protocol relative urls using protocol relative urls --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 2fcbf57..5e74bed 100644 --- a/main.js +++ b/main.js @@ -1392,11 +1392,11 @@ Inspector.prototype.registerMapTab = function () { .range( [ 5, 18 ] ); map = L.map( 'map' ).setView( [ 0, 0 ], 2 ); new L.TileLayer( - 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', + '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { minZoom: 2, maxZoom: 18, - attribution: 'Map data © OpenStreetMap contributors' + attribution: 'Map data © OpenStreetMap contributors' } ) .addTo( map ); From 38bba35bc1bb8f54dd33685b522f10651a2f0dff Mon Sep 17 00:00:00 2001 From: Steinsplitter Date: Sun, 10 Apr 2016 12:02:56 +0200 Subject: [PATCH 2/2] fix --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 5e74bed..281a1ad 100644 --- a/main.js +++ b/main.js @@ -1396,7 +1396,7 @@ Inspector.prototype.registerMapTab = function () { { minZoom: 2, maxZoom: 18, - attribution: 'Map data © OpenStreetMap contributors' + attribution: 'Map data © OpenStreetMap contributors' } ) .addTo( map );