mapcomplete/assets/themes/onwheels/onwheels.json

250 lines
5.8 KiB
JSON
Raw Normal View History

{
"id": "onwheels",
"title": {
2022-07-13 11:06:43 +02:00
"en": "OnWheels"
},
"description": {
2022-07-25 16:45:11 +02:00
"en": "On this map, publicly weelchair accessible places are shown and can be easily added"
},
"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-25 16:45:11 +02:00
"hideFromOverview": false,
"layers": [
2022-07-24 13:03:34 +02:00
{
"builtin": "bike_repair_station",
"override": {
"mapRendering": [
{
"icon": {
"render": "./assets/themes/onwheels/repair.svg",
"mappings": [
2022-07-14 15:17:09 +02:00
{
"if": "service:bicycle:pump=yes",
"then": "./assets/themes/onwheels/bicycle_pump.svg"
}
]
2022-07-24 13:03:34 +02:00
},
"iconSize": "40,40,bottom"
}
]
}
},
"bike_shop",
2022-07-24 13:03:34 +02:00
{
"builtin": "cafe_pub",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/cafe.svg",
2022-07-14 15:17:09 +02:00
"iconSize": "40,40,bottom",
"label": null
2022-07-24 13:03:34 +02:00
}
]
}
},
{
"builtin": "entrance",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/entrance.svg",
"iconSize": "40,40,bottom"
}
]
}
},
2022-07-24 13:03:34 +02:00
{
"builtin": "food",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/restaurant.svg",
2022-07-24 13:06:58 +02:00
"iconSize": "40,40,bottom",
"label": null
2022-07-24 13:03:34 +02:00
}
]
}
},
2022-07-14 15:17:09 +02:00
{
"builtin": "kerbs",
"override": {
"mapRendering": [
{
"icon": {
"render": "./assets/themes/onwheels/cone.svg"
}
}
]
}
},
2022-07-24 12:10:27 +02:00
{
"builtin": "parking",
"override": {
"mapRendering": [
{
2022-07-24 13:03:34 +02:00
"icon": "./assets/themes/onwheels/parking.svg",
"iconSize": "40,40,bottom"
},
{
"color": "#225f92"
2022-07-24 12:10:27 +02:00
}
]
}
},
"picnic_table",
"school",
2022-07-24 13:03:34 +02:00
{
"builtin": "shops",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/shop.svg",
"iconSize": "40,40,bottom",
"label": null
},
{
"color": "#ea4a94"
}
]
}
},
{
"builtin": "toilet",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/toilet.svg",
"iconSize": "40,40,bottom"
}
]
}
},
"viewpoint",
2022-07-14 15:17:09 +02:00
{
"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": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/reception.svg",
"iconSize": "40,40,bottom"
}
]
}
},
2022-07-19 12:26:53 +02:00
"walls_and_buildings",
{
"builtin": "elevator",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/elevator.svg",
"iconSize": "40,40,bottom"
}
]
}
},
2022-07-25 10:15:50 +02:00
{
"builtin": "hotel",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/hotel.svg",
"iconSize": "40,40,bottom"
}
]
}
},
{
"builtin": "governments",
"override": {
"mapRendering": [
{
"icon": "./assets/themes/onwheels/government.svg",
"iconSize": "40,40,bottom"
}
]
}
},
"indoors"
],
2022-07-13 11:06:43 +02:00
"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]",
2022-07-19 11:53:16 +02:00
"_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",
2022-07-19 11:53:16 +02:00
"condition": {
"and": [
"entrance=",
"kerb="
]
},
"render": {
2022-07-25 16:45:11 +02:00
"en": "This door has a width of {canonical(_poi_entrance:width)} meter",
"nl": "Deze deur heeft een breedte van {canonical(_poi_entrance:width)} meter",
"de": "Diese Tür hat eine Durchgangsbreite von {canonical(_poi_entrance:width)} Meter",
"es": "Esta puerta tiene una ancho de {canonical(_poi_entrance:width)} metros"
},
"freeform": {
"key": "_poi_entrance:width",
"type": "distance"
},
"mappings": [
{
"if": "_poi_entrance:width=",
"then": {
"en": "This entrance has no width information"
}
}
]
}
],
2022-07-14 15:17:09 +02:00
"minzoom": 15
}
}