mapcomplete/assets/layers/hotel/hotel.json

94 lines
No EOL
1.8 KiB
JSON

{
"id": "hotel",
"name": {
"en": "Hotels",
"nl": "Hotels",
"de": "Hotels",
"pa_PK": "ہوٹل"
},
"description": {
"en": "Layer showing all hotels",
"nl": "Laag die alle hotels toont",
"de": "Eine Ebene mit Hotels"
},
"source": {
"osmTags": "tourism=hotel"
},
"minzoom": 13,
"title": {
"render": {
"en": "Hotel",
"nl": "Hotel",
"de": "Hotel",
"pa_PK": "ہوٹل"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "Hotel {name}",
"nl": "Hotel {name}",
"de": "Hotel {name}"
}
}
]
},
"presets": [
{
"title": {
"en": "a hotel",
"nl": "een hotel",
"de": "ein Hotel"
},
"tags": [
"tourism=hotel"
]
}
],
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": "circle:white;./assets/layers/hotel/hotel.svg",
"iconSize": "40,40,center"
}
],
"tagRenderings": [
"images",
"reviews",
{
"id": "name",
"freeform": {
"key": "name",
"placeholder": {
"en": "Name of the hotel",
"nl": "Naam van het hotel",
"de": "Name des Hotels"
}
},
"question": {
"en": "What is the name of this hotel?",
"nl": "Wat is de naam van dit hotel?",
"de": "Wie lautet der Name des Hotels?"
},
"render": {
"en": "This hotel is called {name}",
"nl": "Dit hotel heet {name}",
"de": "Der Name des Hotels lautet {name}"
}
},
"phone",
"email",
"website",
"wheelchair-access",
"internet",
"internet-fee",
"internet-ssid"
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
}
}