Update config.js
This commit is contained in:
parent
ec0e0e5445
commit
8a89c0f5db
24
config.js
24
config.js
@ -25,35 +25,15 @@ module.exports = function () {
|
|||||||
'maxAge': 7,
|
'maxAge': 7,
|
||||||
'mapLayers': [
|
'mapLayers': [
|
||||||
{
|
{
|
||||||
'name': 'Freifunk Regensburg',
|
'name': 'OSM',
|
||||||
// Please ask Freifunk Regensburg before using its tile server c- example with retina tiles
|
// 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',
|
'url': 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||||
'config': {
|
'config': {
|
||||||
'maxZoom': 20,
|
'maxZoom': 20,
|
||||||
'subdomains': '1234',
|
'subdomains': '1234',
|
||||||
'attribution': '<a href="http://www.openmaptiles.org/" target="_blank">© OpenMapTiles</a> <a href="http://www.openstreetmap.org/about/" target="_blank">© OpenStreetMap contributors</a>'
|
'attribution': '<a href="http://www.openmaptiles.org/" target="_blank">© OpenMapTiles</a> <a href="http://www.openstreetmap.org/about/" target="_blank">© OpenStreetMap contributors</a>'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'name': 'Freifunk Troisdorf',
|
|
||||||
'url': 'https://tiles.freifunk-rhein-sieg.net/styles/osm-bright/{z}/{x}/{y}.png',
|
|
||||||
'config': {
|
|
||||||
'maxZoom': 20,
|
|
||||||
'type': 'osm',
|
|
||||||
'attribution': '<a href="https://github.com/mapbox/mapbox-studio-osm-bright.tm2">Design</a> © <a href="https://www.mapbox.com/">Mapbox</a>, <a href="http://creativecommons.org/licenses/by/3.0/">CC-BY 3.0</a> — Daten © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'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': 20,
|
|
||||||
'subdomains': '1234',
|
|
||||||
'attribution': ' <a href="http://www.openmaptiles.org/" target="_blank">© OpenMapTiles</a> <a href="http://www.openstreetmap.org/about/" target="_blank">© OpenStreetMap contributors</a>',
|
|
||||||
'mode': 'night'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'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