Update to latest leaflet-osm plugin
This commit is contained in:
parent
9428eb7723
commit
04d9335f3c
1 changed files with 4 additions and 4 deletions
8
vendor/assets/leaflet/leaflet.osm.js
vendored
8
vendor/assets/leaflet/leaflet.osm.js
vendored
|
@ -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>"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue