128 lines
No EOL
4.2 KiB
JSON
128 lines
No EOL
4.2 KiB
JSON
{
|
||
"id": "atm",
|
||
"title": {
|
||
"en": "ATM Machines",
|
||
"de": "Geldautomaten",
|
||
"fr": "Distributeurs DAB",
|
||
"nl": "Geldautomaten",
|
||
"ca": "Caixers automàtics",
|
||
"es": "Cajeros automáticos",
|
||
"cs": "Bankomaty",
|
||
"nb_NO": "Minibanker",
|
||
"zgh": "ⴰⵍⵍⴰⵍⵏ ⵏ ⵓⵙⴽⵙⵍ ⴰⵡⵓⵔⵎⴰⵏ",
|
||
"id": "Mesin ATM",
|
||
"zh_Hant": "自動櫃員機"
|
||
},
|
||
"description": {
|
||
"en": "This map shows ATMs to withdraw or deposit money",
|
||
"de": "Diese Karte zeigt Geldautomaten zum Abheben oder Einzahlen von Geld",
|
||
"fr": "Cette carte montre les DABs pour retirer ou déposer de l'argent",
|
||
"nl": "Deze kaart toont geldautomaten waar je geld kunt afhalen of geld op de bank kan zetten",
|
||
"ca": "Aquest mapa mostra caixers automàtics per a retirar o ingresar diners",
|
||
"cs": "Tato mapa zobrazuje bankomaty pro výběr nebo vklad peněz",
|
||
"nb_NO": "Viser minibanker for å ta ut eller sette inn penger",
|
||
"es": "Este mapa muestra los cajeros automáticos para retirar o ingresar dinero",
|
||
"id": "Peta ini menunjukkan ATM untuk menarik atau menyetorkan uang",
|
||
"zh_Hant": "這份地圖顯示領錢與存錢的 ATM"
|
||
},
|
||
"icon": "./assets/themes/atm/logo.svg",
|
||
"startLat": 0,
|
||
"startLon": 0,
|
||
"startZoom": 0,
|
||
"layers": [
|
||
"atm",
|
||
{
|
||
"builtin": "bank",
|
||
"override": {
|
||
"id": "banks_with_atm",
|
||
"name": null,
|
||
"minzoom": 14,
|
||
"source": {
|
||
"osmTags": {
|
||
"and+": [
|
||
"atm=yes"
|
||
]
|
||
}
|
||
},
|
||
"filter": [
|
||
"open_now"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"builtin": "bank",
|
||
"override": {
|
||
"minzoom": 18,
|
||
"filter": {
|
||
"sameAs": "bank"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"builtin": "maproulette_challenge",
|
||
"override": {
|
||
"minzoom": 5,
|
||
"source": {
|
||
"geoJson": "https://maproulette.org/api/v2/challenge/view/39519"
|
||
},
|
||
"isShown": "mr_taskStatus=Created",
|
||
"calculatedTags": [
|
||
"_closest_osm_poi=closest(feat)('atm')?.properties?.id",
|
||
"_closest_osm_poi_distance=Math.round(distanceTo(feat)(feat.properties._closest_osm_poi))",
|
||
"_has_closeby_feature=Number(feat.properties._closest_osm_poi_distance) < 150 ? 'yes' : 'no'"
|
||
],
|
||
"=tagRenderings": [
|
||
{
|
||
"id": "import-button",
|
||
"condition": "_has_closeby_feature=no",
|
||
"render": {
|
||
"special": {
|
||
"type": "import_button",
|
||
"targetLayer": "atm",
|
||
"tags": "tags",
|
||
"maproulette_id": "mr_taskId",
|
||
"text": {
|
||
"en": "Import this ATM",
|
||
"de": "Diesen Geldautomaten importieren",
|
||
"zh_Hant": "匯入這座 ATM"
|
||
},
|
||
"icon": "./assets/svg/addSmall.svg"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "closeness-indicator",
|
||
"condition": "_has_closeby_feature=yes",
|
||
"render": {
|
||
"en": "OpenStreetMap knows about <a href='#{_closest_osm_poi}'>an ATM which is {_closest_osm_poi_distance} meter away.</a> ",
|
||
"de": "OpenStreetMap kennt <a href='#{_closest_osm_poi}'>einen Geldautomaten, der {_closest_osm_poi_distance} Meter entfernt ist.</a> "
|
||
}
|
||
},
|
||
{
|
||
"id": "tag-apply-button",
|
||
"condition": "_has_closeby_feature=yes",
|
||
"render": {
|
||
"special": {
|
||
"type": "tag_apply",
|
||
"tags_to_apply": "$tags",
|
||
"id_of_object_to_apply_this_one": "_closest_osm_poi",
|
||
"message": {
|
||
"en": "Add all the suggested tags to the closest ATM",
|
||
"de": "Füge alle vorgeschlagenen Tags zum nächstgelegenen Geldautomaten hinzu"
|
||
},
|
||
"image": "./assets/svg/addSmall.svg",
|
||
"maproulette_task_id": "mr_taskId"
|
||
}
|
||
}
|
||
},
|
||
"maproulette.controls",
|
||
{
|
||
"id": "minimap_with_atm",
|
||
"render": "{minimap(18, id, _closest_osm_poi)}"
|
||
},
|
||
"all_tags"
|
||
]
|
||
}
|
||
}
|
||
]
|
||
} |