Add OpenStreetMap Notes Layer (#458)

* use a local variable (best practices)

* Add OpenStreetMap notes as overlay.

This commit adds a new layer which renders OpenStreetMap notes in the
current view.

The layer can be activated via the "More" button in the layers sidebar.

Fixes #439
This commit is contained in:
Marcus Jaschen 2021-11-17 20:03:07 +01:00 committed by GitHub
parent 5ec72901f1
commit 492797f2a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 54 additions and 2 deletions

View file

@ -220,6 +220,10 @@ BR.confLayers.getPropertyOverrides = function() {
'nameShort': 'Mapillary',
'mapUrl': 'https://www.mapillary.com/app/?lat={lat}&lng={lon}&z={zoom}&menu=false'
},
'osm-notes': {
'nameShort': 'OSM Notes',
'mapUrl': 'https://www.openstreetmap.org/#map={zoom}/{lat}/{lon}&layers=N'
},
'openpt_map': {
'nameShort': 'openptmap',
'mapUrl': 'http://openptmap.org/?zoom={zoom}&lat={lat}&lon={lon}&layers=B0000TFT'

View file

@ -72,7 +72,8 @@ BR.confLayers.tree = {
'Waymarked_Trails-Cycling',
'Waymarked_Trails-Hiking',
'Waymarked_Trails-MTB',
'mapillary-coverage-raster'
'mapillary-coverage-raster',
'osm-notes'
],
'country': [
'historic-place-contours',