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

@ -0,0 +1,14 @@
{
"geometry": null,
"properties": {
"attribution": {
"text": "© OpenStreetMap contributors",
"url": "https://www.openstreetmap.org/"
},
"id": "osm-notes",
"name": "OpenStreetMap Notes",
"overlay": true,
"dataSource": "OpenStreetMapNotesAPI"
},
"type": "Feature"
}