360 lines
No EOL
8.8 KiB
JSON
360 lines
No EOL
8.8 KiB
JSON
{
|
|
"id": "onwheels",
|
|
"title": {
|
|
"en": "OnWheels",
|
|
"de": "Auf Rädern",
|
|
"fr": "OnWheels"
|
|
},
|
|
"description": {
|
|
"en": "On this map, publicly weelchair accessible places are shown and can be easily added",
|
|
"de": "Auf dieser Karte werden öffentlich zugängliche Orte für Rollstuhlfahrer angezeigt und können leicht hinzugefügt werden",
|
|
"fr": "Sur cette carte nous pouvons voir et ajouter les différents endroits publiques accessibles aux chaises roulantes"
|
|
},
|
|
"maintainer": "MapComplete",
|
|
"icon": "./assets/themes/onwheels/crest.svg",
|
|
"version": "0",
|
|
"startLat": 50.86622,
|
|
"defaultBackgroundId": "CartoDB.Voyager",
|
|
"startLon": 4.350103,
|
|
"startZoom": 17,
|
|
"widenFactor": 2,
|
|
"hideFromOverview": false,
|
|
"layers": [
|
|
{
|
|
"builtin": "bike_repair_station",
|
|
"override": {
|
|
"name": null,
|
|
"shownByDefault": false,
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "./assets/themes/onwheels/repair.svg",
|
|
"mappings": [
|
|
{
|
|
"if": "service:bicycle:pump=yes",
|
|
"then": "./assets/themes/onwheels/bicycle_pump.svg"
|
|
}
|
|
]
|
|
},
|
|
"iconSize": "40,40,bottom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "bike_shop",
|
|
"override": {
|
|
"name": null,
|
|
"shownByDefault": false
|
|
}
|
|
},
|
|
{
|
|
"builtin": "pedestrian_path",
|
|
"override": {
|
|
"title": {
|
|
"en": "Pedestrian path"
|
|
},
|
|
"name": null,
|
|
"shownByDefault": false
|
|
}
|
|
},
|
|
{
|
|
"builtin": "cycleways_and_roads",
|
|
"override": {
|
|
"name": null,
|
|
"shownByDefault": false
|
|
}
|
|
},
|
|
{
|
|
"builtin": "cafe_pub",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/cafe.svg",
|
|
"iconSize": "40,40,bottom",
|
|
"label": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "entrance",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"syncSelection": "theme-only",
|
|
"filter":[
|
|
{
|
|
"id": "width",
|
|
"options": [
|
|
{
|
|
"question": {
|
|
"en": "Any/No width info"
|
|
}
|
|
},
|
|
{
|
|
"osmTags": "width=",
|
|
"question": {
|
|
"en": "Any width info"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "food",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/restaurant.svg",
|
|
"iconSize": "40,40,bottom",
|
|
"label": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "kerbs",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"syncSelection": "theme-only",
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "./assets/themes/onwheels/cone.svg"
|
|
}
|
|
}
|
|
],
|
|
"filter": [
|
|
{
|
|
"id": "kerb-type",
|
|
"options": [
|
|
{
|
|
"question": {
|
|
"en": "All types of kerbs",
|
|
"nl": "Alle typen stoepranden",
|
|
"de": "Alle Arten von Bordsteinen"
|
|
}
|
|
},
|
|
{
|
|
"osmTags": "kerb=raised",
|
|
"question": {
|
|
"en": "Raised kerb (>3 cm)",
|
|
"nl": "Hoge stoeprand (>3 cm)",
|
|
"de": "Erhöhter Bordstein (>3 cm)"
|
|
}
|
|
},
|
|
{
|
|
"osmTags": "kerb=lowered",
|
|
"question": {
|
|
"en": "Lowered kerb (~3 cm)",
|
|
"nl": "Verlaagde stoeprand (~3 cm)",
|
|
"de": "Abgesenkter Bordstein (~3 cm)"
|
|
}
|
|
},
|
|
{
|
|
"osmTags": "kerb=flush",
|
|
"question": {
|
|
"en": "Flush kerb (~0cm)",
|
|
"nl": "Vlakke stoeprand (~0cm)",
|
|
"de": "Bündiger Bordstein (~0cm)"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "parking",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/parking.svg",
|
|
"iconSize": "40,40,bottom"
|
|
},
|
|
{
|
|
"color": "#225f92"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "picnic_table",
|
|
"override": {
|
|
"name": null,
|
|
"shownByDefault": false
|
|
}
|
|
},
|
|
"school",
|
|
{
|
|
"builtin": "shops",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/shop.svg",
|
|
"iconSize": "40,40,bottom",
|
|
"label": null
|
|
},
|
|
{
|
|
"color": "#ea4a94"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "toilet",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"syncSelection": "theme-only",
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/toilet.svg",
|
|
"iconSize": "40,40,bottom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"viewpoint",
|
|
{
|
|
"builtin": "pharmacy",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/pharmacy.svg",
|
|
"iconSize": "40,40,bottom",
|
|
"label": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "doctors",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/doctor.svg",
|
|
"iconSize": "40,40,bottom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "hospital",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/hospital.svg",
|
|
"iconSize": "40,40,bottom"
|
|
},
|
|
{
|
|
"color": "#dd463b"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "reception_desk",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"syncSelection": "theme-only",
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/reception.svg",
|
|
"iconSize": "40,40,bottom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"walls_and_buildings",
|
|
{
|
|
"builtin": "elevator",
|
|
"override": {
|
|
"minzoom": 19,
|
|
"syncSelection": "theme-only"
|
|
}
|
|
},
|
|
{
|
|
"builtin": "hotel",
|
|
"override": {
|
|
"mapRendering": [
|
|
{
|
|
"icon": "./assets/themes/onwheels/hotel.svg",
|
|
"iconSize": "40,40,bottom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "current_view",
|
|
"override": {
|
|
"+mapRendering": [
|
|
{
|
|
"location": [
|
|
"point", "centroid"
|
|
],
|
|
"icon": "statistics"
|
|
}
|
|
],
|
|
"=title": {
|
|
"render": {
|
|
"en": "Statistics"
|
|
}
|
|
},
|
|
"tagRenderings": [
|
|
{
|
|
"id": "stats",
|
|
"render": "{statistics()}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"overrideAll": {
|
|
"+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]",
|
|
"_poi_entrance:id=JSON.parce(feat.properties._poi_walls_and_buildings_entrance_properteis)?.id",
|
|
"_poi_entrance:width=JSON.parse(feat.properties._poi_walls_and_buildings_entrance_properties)?.width"
|
|
],
|
|
"+tagRenderings": [
|
|
{
|
|
"id": "_poi_entrance:width",
|
|
"condition": {
|
|
"and": [
|
|
"entrance=",
|
|
"kerb=",
|
|
"current_view!=yes"
|
|
]
|
|
},
|
|
"render": {
|
|
"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 Drchgangsbreite 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>"
|
|
},
|
|
"freeform": {
|
|
"key": "_poi_entrance:width",
|
|
"type": "distance"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "_poi_entrance:width=",
|
|
"then": {
|
|
"en": "This entrance has no width information",
|
|
"de": "Dieser Eingang hat keine Breitenangabe",
|
|
"fr": "Cet accès n'a pas d'informations de largeur",
|
|
"nl": "Deze ingang heeft geen informatie over de breedte"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"minzoom": "17",
|
|
"mapRendering": [
|
|
{
|
|
"label": null
|
|
}
|
|
]
|
|
}
|
|
} |