Add SwissTopo tile layers (#422)

This commit is contained in:
Phylor 2021-06-02 20:33:48 +02:00 committed by GitHub
parent 208b363e5e
commit bad8b53cf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 51 additions and 1 deletions

View file

@ -137,6 +137,14 @@ BR.confLayers.getPropertyOverrides = function() {
'mapUrl': 'https://osm.ch/#{zoom}/{lat}/{lon}',
'worldTiles': true
},
'swisstopo-landeskarte': {
'country_code': 'CH',
'mapUrl': 'https://map.geo.admin.ch/?swisssearch={lat},{lon}',
},
'swisstopo-aerial': {
'country_code': 'CH',
'mapUrl': 'https://map.geo.admin.ch/?swisssearch={lat},{lon}',
},
'topplus-open': {
'country_code': 'DE',
'mapUrl': 'http://www.geodatenzentrum.de/geodaten/gdz_rahmen.gdz_div?gdz_spr=deu&gdz_user_id=0&gdz_akt_zeile=5&gdz_anz_zeile=1&gdz_unt_zeile=41',

View file

@ -39,7 +39,13 @@ BR.confLayers.tree = {
'osmbe-nl',
]
},
'OpenStreetMap.CH',
{
'CH': [
'OpenStreetMap.CH',
'swisstopo-landeskarte',
'swisstopo-aerial',
]
},
'topplus-open',
{
'IL': [