{ "id": "aed_brugge", "title": { "nl": "Open AED-kaart - Brugge edition" }, "icon": "./assets/themes/aed/aed.svg", "description": { "nl": "Op deze kaart kan je informatie over AEDs vinden en verbeteren + een export van de brugse defibrillatoren" }, "startLat": 51.25634, "startLon": 3.195682, "startZoom": 12, "layers": [ "defibrillator", { "id": "brugge", "name": "Brugse dataset", "source": { "osmTags": "Brugs volgnummer~*", "geoJson": "https://raw.githubusercontent.com/pietervdvn/pietervdvn.github.io/master/aeds_brugge.json" }, "calculatedTags": [ "_closest_osm_aed=feat.closest('defibrillator')?.properties?.id", "_closest_osm_aed_distance=feat.distanceTo(feat.properties._closest_osm_aed)", "_has_closeby_feature=Number(feat.properties._closest_osm_aed_distance) < 25 ? 'yes' : 'no'" ], "title": "AED in Brugse dataset", "tagRenderings": [ { "id": "status", "mappings": [ { "if": "status=oud", "then": "
Dit datapunt is verouderd
" } ] }, { "id": "has closeby", "render": "
Er is al een AED gekend in de buurt
", "condition": "_has_closeby_feature=yes" }, { "id": "openbaar", "render": "Bevindt zich in een openbaar gebouw: {Openbare AED Gebouw} (geen lokaal bekend)", "condition": "Openbare AED Gebouw~*", "mappings": [ { "if": "Lokaal AED~*", "then": "Bevindt zich in een openbaar gebouw: {Openbare AED Gebouw} in lokaal {Lokaal AED}" } ] }, { "id": "addr", "#": "Yes, 'nummer' writes with three 'm's", "render": "Het adres is {Straat} {Nummmer} {Bus}" }, { "id": "oh", "render": "De openingsuren zijn {OPENINGSUREN}", "condition": "OPENINGSUREN~*" } ], "mapRendering": [ { "icon": { "render": "circle:red", "mappings": [ { "if": "_has_closeby_feature=yes", "then": "circle:#008000aa" } ] }, "iconSize": "20,20,center", "location": [ "point", "centroid" ] } ] } ], "hideFromOverview": true, "defaultBackgroundId": "HDM_HOT", "clustering": { "maxZoom": 0 } }