mapcomplete/assets/themes/onwheels/onwheels.json
2022-07-14 15:17:09 +02:00

54 lines
No EOL
1.2 KiB
JSON

{
"id": "onwheels",
"title": {
"en": "OnWheels"
},
"description": {
"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,
"layers": [
"bike_repair_station",
"bike_shop",
"cafe_pub",
"entrance",
"food",
"kerbs",
"parking",
"picnic_table",
"school",
"shops",
"toilet",
"viewpoint",
"doctors",
"hotel",
{
"builtin": "maproulette_challenge",
"override": {
"source": {
"geoJson": "https://maproulette.org/api/v2/challenge/view/28012"
},
"calculatedTags": [
"_closest_osm_hotel=feat.closest('hotel')?.properties?.id",
"_closest_osm_hotel_distance=feat.distanceTo(feat.properties._closest_osm_hotel)",
"_has_closeby_feature=Number(feat.properties._closest_osm_hotel_distance) < 50 ? 'yes' : 'no'"
]
}
}
],
"overrideAll": {
"minzoom": "15",
"mapRendering": [
{
"label": null
}
]
}
}