Commit b95e109c authored by Florent Chehab's avatar Florent Chehab
Browse files

openstreetmap source changed

parent c004b867
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
ext: 'png' ext: 'png'
}); });
var OpenStreetMap_Mapnik = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { var OpenStreetMap_France = L.tileLayer('https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {
maxZoom: 19, maxZoom: 20,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' attribution: '&copy; Openstreetmap France | &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}); });
var Esri_WorldImagery = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', { var Esri_WorldImagery = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
var baseLayers = { var baseLayers = {
"Stamen Watercolor": Stamen, "Stamen Watercolor": Stamen,
"OpenStreetMap": OpenStreetMap_Mapnik, "OpenStreetMap": OpenStreetMap_France,
"Satellite": Esri_WorldImagery "Satellite": Esri_WorldImagery
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment