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

@ -66,6 +66,7 @@
"leaflet-filelayer": "^1.2.0",
"leaflet-geometryutil": "^0.9.1",
"leaflet-hotline": "^0.4.0",
"leaflet-osm-notes": "osmlab/leaflet-osm-notes#af2aa811",
"leaflet-plugins": "~3.0.0",
"leaflet-providers": "^1.10.2",
"leaflet-routing": "nrenner/leaflet-routing#e94e153",
@ -200,6 +201,11 @@
"images/*.+(png|gif)"
]
},
"leaflet-osm-notes": {
"main": [
"leaflet-osm-notes.js"
]
},
"url-search-params": {
"main": "build/url-search-params.js"
},