{ "id": "notes", "language": [ "en" ], "maintainer": "MapComplete", "startLat": 0, "startLon": 0, "startZoom": 0, "title": "Notes on OpenStreetMap", "version": "0.1", "description": "Notes from OpenStreetMap", "icon": "./assets/themes/notes/resolved.svg", "clustering": false, "layers": [ { "id": "notes", "name": { "en": "OpenStreetMap notes" }, "description": "Notes on OpenStreetMap.org", "source": { "osmTags": "id~*", "geoJson": "https://api.openstreetmap.org/api/0.6/notes.json?closed=7&bbox={x_min},{y_min},{x_max},{y_max}", "geoJsonZoomLevel": 12, "maxCacheAge": 0 }, "minzoom": 10, "title": { "render": { "en": "Note" }, "mappings": [{ "if": "closed_at~*", "then": { "en": "Closed note" } }] }, "calculatedTags": [ "_first_comment:=feat.get('comments')[0].text", "_conversation=feat.get('comments').map(c => {if(c.user_url == undefined) {return 'anonymous user, '+c.date;} return c.html+'