2022-07-11 13:45:09 +02:00
|
|
|
{
|
|
|
|
"id": "onwheels",
|
|
|
|
"title": {
|
2022-07-13 11:06:43 +02:00
|
|
|
"en": "OnWheels"
|
2022-07-11 13:45:09 +02:00
|
|
|
},
|
|
|
|
"description": {
|
2022-07-18 11:49:22 +02:00
|
|
|
"en": "On this map, publicly weelchair accessible places are shown and can be easily added"
|
2022-07-11 13:45:09 +02:00
|
|
|
},
|
|
|
|
"maintainer": "MapComplete",
|
|
|
|
"icon": "./assets/themes/onwheels/crest.svg",
|
|
|
|
"version": "0",
|
|
|
|
"startLat": 50.8465573,
|
|
|
|
"defaultBackgroundId": "CartoDB.Voyager",
|
|
|
|
"startLon": 4.351697,
|
|
|
|
"startZoom": 16,
|
|
|
|
"widenFactor": 2,
|
2022-07-18 10:44:42 +02:00
|
|
|
"hideFromOverview": true,
|
2022-07-11 13:45:09 +02:00
|
|
|
"layers": [
|
|
|
|
"bike_repair_station",
|
|
|
|
"bike_shop",
|
|
|
|
"cafe_pub",
|
|
|
|
"entrance",
|
|
|
|
"food",
|
|
|
|
"kerbs",
|
|
|
|
"parking",
|
|
|
|
"picnic_table",
|
|
|
|
"school",
|
|
|
|
"shops",
|
|
|
|
"toilet",
|
|
|
|
"viewpoint",
|
2022-07-13 14:33:53 +02:00
|
|
|
"doctors",
|
2022-07-19 11:55:46 +02:00
|
|
|
"reception_desk",
|
2022-07-13 14:33:53 +02:00
|
|
|
"walls_and_buildings"
|
2022-07-11 13:45:09 +02:00
|
|
|
],
|
2022-07-13 11:06:43 +02:00
|
|
|
"overrideAll": {
|
2022-07-18 09:31:54 +02:00
|
|
|
"+calculatedTags": [
|
|
|
|
"_poi_walls_and_buildings_entrance_properties=feat.closestn('walls_and_buildings', 1, undefined, 1000).map(w => ({id: w.feat.properties.id, width: w.feat.properties['_entrance:width']}))[0]",
|
2022-07-19 11:53:16 +02:00
|
|
|
"_poi_entrance:id=JSON.parce(feat.properties._poi_walls_and_buildings_entrance_properteis)?.id",
|
2022-07-18 09:31:54 +02:00
|
|
|
"_poi_entrance:width=JSON.parse(feat.properties._poi_walls_and_buildings_entrance_properties)?.width"
|
|
|
|
],
|
|
|
|
"+tagRenderings": [
|
|
|
|
{
|
|
|
|
"id": "_poi_entrance:width",
|
2022-07-19 11:53:16 +02:00
|
|
|
"condition": {
|
|
|
|
"and": [
|
|
|
|
"entrance=",
|
|
|
|
"kerb="
|
|
|
|
]
|
|
|
|
},
|
2022-07-18 09:31:54 +02:00
|
|
|
"render": {
|
2022-07-19 11:53:16 +02:00
|
|
|
"en": "<a href='#{_poi_entrance:id}'>This door has a width of {canonical(_poi_entrance:width)} meters</a>",
|
|
|
|
"nl": "<a href='#{_poi_entrance:id}'>Deze deur heeft een breedte van {canonical(_poi_entrance:width)} meter</a>",
|
|
|
|
"de": "<a href='#{_poi_entrance:id}'>Diese Tür hat eine Durchgangsbreite von {canonical(_poi_entrance:width)} Meter</a>",
|
|
|
|
"es": "<a href='#{_poi_entrance:id}'>Esta puerta tiene una ancho de {canonical(_poi_entrance:width)} metros</a>"
|
2022-07-18 09:31:54 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "_poi_entrance:width",
|
|
|
|
"type": "distance"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "_poi_entrance:width=",
|
|
|
|
"then": {
|
|
|
|
"en": "This entrance has no width information"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2022-07-13 11:06:43 +02:00
|
|
|
"minzoom": "15",
|
|
|
|
"mapRendering": [
|
2022-07-11 13:45:09 +02:00
|
|
|
{
|
2022-07-13 11:06:43 +02:00
|
|
|
"label": null
|
2022-07-11 13:45:09 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|