[fix #811]OpenStreetMap: use openstreetmap.org to provide the tiles

This commit is contained in:
Simon Lehericey 2017-10-11 14:42:27 +02:00
parent 2f97efe12c
commit 6a77dff916
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ function initCarto() {
scrollWheelZoom: false
}).setView([position.lat, position.lon], position.zoom);
L.tileLayer('http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);

View file

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