Retour aux cartes OSM par défaut

This commit is contained in:
echarp 2014-10-05 13:35:42 +02:00
parent c67ab1f1c0
commit 2f677263a0
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ $(document).ready ->
$('.maps #map').each ->
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: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a>'
).addTo map
@ -22,7 +22,7 @@ $(document).ready ->
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: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a>'
).addTo map