Retour aux cartes OSM par défaut
This commit is contained in:
parent
c67ab1f1c0
commit
2f677263a0
|
@ -2,7 +2,7 @@ $(document).ready ->
|
||||||
$('.maps #map').each ->
|
$('.maps #map').each ->
|
||||||
map = L.map 'map'
|
map = L.map 'map'
|
||||||
|
|
||||||
L.tileLayer('http://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png',
|
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||||
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a>'
|
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a>'
|
||||||
).addTo map
|
).addTo map
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ $(document).ready ->
|
||||||
|
|
||||||
map = L.map('map').setView [coord[0], coord[1]], 16
|
map = L.map('map').setView [coord[0], coord[1]], 16
|
||||||
|
|
||||||
L.tileLayer('http://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png',
|
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||||
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a>'
|
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a>'
|
||||||
).addTo map
|
).addTo map
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue