mapcomplete/assets/themes/atm/atm.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

129 lines
4.2 KiB
JSON
Raw Normal View History

2022-12-15 20:44:23 +01:00
{
"id": "atm",
"title": {
2022-12-20 20:42:32 +01:00
"en": "ATM Machines",
2022-12-23 14:46:05 +01:00
"de": "Geldautomaten",
2023-01-03 01:10:37 +01:00
"fr": "Distributeurs DAB",
2023-01-10 19:34:07 +01:00
"nl": "Geldautomaten",
"ca": "Caixers automàtics",
2023-01-29 18:02:06 +01:00
"es": "Cajeros automáticos",
"cs": "Bankomaty",
"nb_NO": "Minibanker",
2023-03-16 15:09:26 +01:00
"zgh": "ⴰⵍⵍⴰⵍⵏ ⵓⵙⴽⵙⵍ ⴰⵡⵓⵔⵎⴰⵏ",
2023-06-28 22:30:08 +02:00
"id": "Mesin ATM",
"zh_Hant": "自動櫃員機"
2022-12-15 20:44:23 +01:00
},
"description": {
2022-12-20 20:42:32 +01:00
"en": "This map shows ATMs to withdraw or deposit money",
2022-12-23 14:46:05 +01:00
"de": "Diese Karte zeigt Geldautomaten zum Abheben oder Einzahlen von Geld",
2023-01-03 01:10:37 +01:00
"fr": "Cette carte montre les DABs pour retirer ou déposer de l'argent",
2023-01-10 19:34:07 +01:00
"nl": "Deze kaart toont geldautomaten waar je geld kunt afhalen of geld op de bank kan zetten",
2023-02-23 14:39:08 +01:00
"ca": "Aquest mapa mostra caixers automàtics per a retirar o ingresar diners",
2023-01-29 18:02:06 +01:00
"cs": "Tato mapa zobrazuje bankomaty pro výběr nebo vklad peněz",
2023-02-26 17:45:29 +01:00
"nb_NO": "Viser minibanker for å ta ut eller sette inn penger",
2023-03-16 15:09:26 +01:00
"es": "Este mapa muestra los cajeros automáticos para retirar o ingresar dinero",
2023-06-28 22:30:08 +02:00
"id": "Peta ini menunjukkan ATM untuk menarik atau menyetorkan uang",
"zh_Hant": "這份地圖顯示領錢與存錢的 ATM"
2022-12-15 20:44:23 +01:00
},
"icon": "./assets/themes/atm/logo.svg",
"startLat": 0,
"startLon": 0,
"startZoom": 0,
"layers": [
"atm",
{
"builtin": "bank",
"override": {
"id": "banks_with_atm",
"name": null,
2023-06-09 16:13:35 +02:00
"minzoom": 14,
"source": {
"osmTags": {
"and+": [
"atm=yes"
]
}
},
"filter": [
"open_now"
]
}
},
{
"builtin": "bank",
"override": {
"minzoom": 18,
"filter": {
"sameAs": "bank"
}
}
2023-06-09 16:13:35 +02:00
},
{
"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))",
2023-06-16 23:55:02 +02:00
"_has_closeby_feature=Number(feat.properties._closest_osm_poi_distance) < 150 ? 'yes' : 'no'"
2023-06-09 16:13:35 +02:00
],
"=tagRenderings": [
{
"id": "import-button",
"condition": "_has_closeby_feature=no",
"render": {
"special": {
"type": "import_button",
"targetLayer": "atm",
"tags": "tags",
"maproulette_id": "mr_taskId",
"text": {
2023-06-28 22:30:08 +02:00
"en": "Import this ATM",
"de": "Diesen Geldautomaten importieren",
2023-07-15 19:00:23 +02:00
"zh_Hant": "匯入這座 ATM",
"nl": "Voeg deze ATM toe"
2023-06-09 16:13:35 +02:00
},
"icon": "./assets/svg/addSmall.svg"
}
}
},
{
"id": "closeness-indicator",
"condition": "_has_closeby_feature=yes",
"render": {
2023-06-28 22:30:08 +02:00
"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> "
2023-06-09 16:13:35 +02:00
}
},
{
"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": {
2023-06-28 22:30:08 +02:00
"en": "Add all the suggested tags to the closest ATM",
"de": "Füge alle vorgeschlagenen Tags zum nächstgelegenen Geldautomaten hinzu"
2023-06-09 16:13:35 +02:00
},
"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"
]
}
}
2022-12-15 20:44:23 +01:00
]
}