From ffe513a40f07fdbb8321f3ebe0932974bc5162ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20=C5=9Eennik?= Date: Sat, 21 Oct 2017 02:53:55 +0300 Subject: [PATCH] SSL --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 3630a2e..eeaa354 100644 --- a/js/main.js +++ b/js/main.js @@ -17,7 +17,7 @@ var mapdata = { maps = L.map('svg-map').setView([41.070034, 28.806152], 10); mapLink = 'OpenStreetMap'; -L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { +L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© ' + mapLink + ' Contributors', maxZoom: 18, }).addTo(maps); maps._initPathRoot()