Update config.js

This commit is contained in:
stebifan 2019-11-10 15:21:24 +01:00 committed by GitHub
parent 4fd562b84b
commit 3c0cd2a36d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,19 +26,18 @@ module.exports = function () {
'mapLayers': [ 'mapLayers': [
{ {
'name': 'Freifunk Rhein-Sieg', 'name': 'Freifunk Rhein-Sieg',
// Please ask Freifunk Regensburg before using its tile server c- example with retina tiles // Please ask Freifunk Rhein Sieg before using its tile server c- example with retina tiles
'url': 'https://tiles.freifunk-rhein-sieg.net/tile/{z}/{x}/{y}.png', 'url': 'https://tiles.freifunk-rhein-sieg.net/tile/{z}/{x}/{y}.png',
'config': { 'config': {
'maxZoom': 19, 'maxZoom': 20,
'attribution': '<a href="https://freifunk-rhein-sieg.net/" target="_blank">&copy; Freifunk-Rhein-Sieg (Stefan Hoffmann)</a> <a href="http://www.openstreetmap.org/about/" target="_blank">&copy; OpenStreetMap contributors</a>' 'attribution': '<a href="https://freifunk-rhein-sieg.net/" target="_blank">&copy; Freifunk-Rhein-Sieg (Stefan Hoffmann)</a> <a href="http://www.openstreetmap.org/about/" target="_blank">&copy; OpenStreetMap contributors</a>'
} }
}, },
{ {
'name': 'OSM', 'name': 'OSM',
// Please ask Freifunk Regensburg before using its tile server c- example with retina tiles
'url': 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', 'url': 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
'config': { 'config': {
'maxZoom': 19, 'maxZoom': 20,
'attribution': '<a href="http://www.openmaptiles.org/" target="_blank">&copy; OpenMapTiles</a> <a href="http://www.openstreetmap.org/about/" target="_blank">&copy; OpenStreetMap contributors</a>' 'attribution': '<a href="http://www.openmaptiles.org/" target="_blank">&copy; OpenMapTiles</a> <a href="http://www.openstreetmap.org/about/" target="_blank">&copy; OpenStreetMap contributors</a>'
} }
}, },
@ -46,7 +45,7 @@ module.exports = function () {
'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',
'config': { 'config': {
'maxZoom': 19, 'maxZoom': 20,
'attribution': '&copy; Openstreetmap France | &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' 'attribution': '&copy; Openstreetmap France | &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
} }
}, },