[TASK] Use config with mode and retina tiles example
This commit is contained in:
parent
0a204ea100
commit
d465f75d0b
24
config.json
24
config.json
@ -30,6 +30,30 @@
|
|||||||
"maxAge": 14,
|
"maxAge": 14,
|
||||||
"nodeZoom": 18,
|
"nodeZoom": 18,
|
||||||
"mapLayers": [
|
"mapLayers": [
|
||||||
|
{
|
||||||
|
"name": "Freifunk Regensburg",
|
||||||
|
// Please ask Freifunk Regensburg before using its tile server c- example with retina tiles
|
||||||
|
"url": "https://{s}.tiles.ffrgb.net/{z}/{x}/{y}{retina}.png",
|
||||||
|
"config": {
|
||||||
|
"maxZoom": 22,
|
||||||
|
"subdomains": "1234",
|
||||||
|
"attribution": "<a href=\'https://www.mapbox.com/about/maps/\' target=\'_blank\'>© Mapbox</a> <a href=\'https://openstreetmap.org/about/\' target=\'_blank\'>© OpenStreetMap</a> <a class=\'mapbox-improve-map\' href=\'https://www.mapbox.com/map-feedback/\' target=\'_blank\'>Improve this map</a>",
|
||||||
|
"start": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Freifunk Regensburg Night",
|
||||||
|
// Please ask Freifunk Regensburg before using its tile server - example with retina and dark tiles
|
||||||
|
"url": "https://{s}.tiles.ffrgb.net/n/{z}/{x}/{y}{retina}.png",
|
||||||
|
"config": {
|
||||||
|
"maxZoom": 22,
|
||||||
|
"subdomains": "1234",
|
||||||
|
"attribution": "<a href=\'https://www.mapbox.com/about/maps/\' target=\'_blank\'>© Mapbox</a> <a href=\'https://openstreetmap.org/about/\' target=\'_blank\'>© OpenStreetMap</a> <a class=\'mapbox-improve-map\' href=\'https://www.mapbox.com/map-feedback/\' target=\'_blank\'>Improve this map</a>",
|
||||||
|
"mode": "night",
|
||||||
|
"start": 19,
|
||||||
|
"end": 7
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "OpenStreetMap.HOT",
|
"name": "OpenStreetMap.HOT",
|
||||||
"url": "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",
|
"url": "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user