Update to latest leaflet-osm plugin

This commit is contained in:
Tom Hughes 2014-06-25 18:54:12 +01:00
parent 9428eb7723
commit 04d9335f3c

View file

@ -25,15 +25,15 @@ L.OSM.Mapnik = L.OSM.TileLayer.extend({
L.OSM.CycleMap = L.OSM.TileLayer.extend({ L.OSM.CycleMap = L.OSM.TileLayer.extend({
options: { options: {
url: 'http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png', url: 'http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png',
attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>" attribution: "Tiles courtesy of <a href='http://www.thunderforest.com/' target='_blank'>Andy Allan</a>"
} }
}); });
L.OSM.TransportMap = L.OSM.TileLayer.extend({ L.OSM.TransportMap = L.OSM.TileLayer.extend({
options: { options: {
url: 'http://{s}.tile2.opencyclemap.org/transport/{z}/{x}/{y}.png', url: 'http://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png',
attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>" attribution: "Tiles courtesy of <a href='http://www.thunderforest.com/' target='_blank'>Andy Allan</a>"
} }
}); });