2021-05-16 15:34:44 +02:00
|
|
|
{
|
|
|
|
"id": "aed_brugge",
|
|
|
|
"title": {
|
|
|
|
"nl": "Open AED-kaart - Brugge edition"
|
|
|
|
},
|
|
|
|
"maintainer": "MapComplete",
|
2022-03-08 04:09:03 +01:00
|
|
|
"icon": "./assets/themes/aed/aed.svg",
|
2021-05-16 15:34:44 +02:00
|
|
|
"description": {
|
|
|
|
"nl": "Op deze kaart kan je informatie over AEDs vinden en verbeteren + een export van de brugse defibrillatoren"
|
|
|
|
},
|
|
|
|
"version": "2021-05-16",
|
|
|
|
"startLat": 51.25634,
|
|
|
|
"startLon": 3.195682,
|
|
|
|
"startZoom": 12,
|
|
|
|
"layers": [
|
|
|
|
"defibrillator",
|
|
|
|
{
|
2021-12-30 22:36:34 +01:00
|
|
|
"id": "brugge",
|
2021-05-16 15:34:44 +02:00
|
|
|
"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",
|
2021-12-03 00:45:46 +01:00
|
|
|
"_closest_osm_aed_distance=feat.distanceTo(feat.properties._closest_osm_aed)",
|
2021-05-16 15:34:44 +02:00
|
|
|
"_has_closeby_feature=Number(feat.properties._closest_osm_aed_distance) < 25 ? 'yes' : 'no'"
|
|
|
|
],
|
|
|
|
"title": "AED in Brugse dataset",
|
|
|
|
"tagRenderings": [
|
2021-12-03 00:45:46 +01:00
|
|
|
{
|
|
|
|
"id": "status",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "status=oud",
|
|
|
|
"then": "<div class='alert'>Dit datapunt is verouderd</div>"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "has closeby",
|
|
|
|
"render": "<div class='thanks'>Er is al een AED gekend in de buurt</div>",
|
|
|
|
"condition": "_has_closeby_feature=yes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "openbaar",
|
|
|
|
"render": "Bevindt zich in een openbaar gebouw: <b>{Openbare AED Gebouw}</b> (geen lokaal bekend)",
|
|
|
|
"condition": "Openbare AED Gebouw~*",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "Lokaal AED~*",
|
|
|
|
"then": "Bevindt zich in een openbaar gebouw: <b>{Openbare AED Gebouw}</b> in lokaal <b>{Lokaal AED}</b>"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "addr",
|
|
|
|
"#": "Yes, 'nummer' writes with three 'm's",
|
|
|
|
"render": "Het adres is {Straat} {Nummmer} {Bus}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "oh",
|
|
|
|
"render": "De openingsuren zijn <b>{OPENINGSUREN}</b>",
|
|
|
|
"condition": "OPENINGSUREN~*"
|
|
|
|
}
|
2021-10-20 02:01:27 +02:00
|
|
|
],
|
|
|
|
"mapRendering": [
|
|
|
|
{
|
|
|
|
"icon": {
|
|
|
|
"render": "circle:red",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "_has_closeby_feature=yes",
|
|
|
|
"then": "circle:#008000aa"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"iconSize": "20,20,center",
|
|
|
|
"location": [
|
2021-12-03 02:30:25 +01:00
|
|
|
"point",
|
|
|
|
"centroid"
|
2021-10-20 02:01:27 +02:00
|
|
|
]
|
2021-12-03 00:45:46 +01:00
|
|
|
}
|
2021-05-16 15:34:44 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-05-16 15:50:09 +02:00
|
|
|
"hideFromOverview": true,
|
2021-10-20 01:27:01 +02:00
|
|
|
"defaultBackgroundId": "HDM_HOT",
|
|
|
|
"clustering": {
|
|
|
|
"maxZoom": 0
|
|
|
|
}
|
2021-06-05 17:24:06 +02:00
|
|
|
}
|