Load OSM tiles over https

This commit is contained in:
Paul Chavard 2018-09-25 17:29:21 +02:00
parent 198547778d
commit 90fb81af2b

View file

@ -2,7 +2,7 @@ var LON = '2.428462';
var LAT = '46.538192';
function initCarto() {
OSM = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
OSM = L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
});