Themes: add hostel, cleanup of hotel

This commit is contained in:
Pieter Vander Vennet 2024-08-12 10:07:33 +02:00
parent ba6027dda3
commit 8e9ae0529b
7 changed files with 228 additions and 6 deletions

View file

@ -0,0 +1,68 @@
{
"minzoom": 12,
"pointRendering": [
{id":
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/layers/hostels/hostel.svg"
}
]
}
],
"tagRenderings": [
"images",
"reviews",
{
"id": "name",
"question": {
"en": "What is the name of this hostel?"
},
"render": {
"en": "This hostel is called {name}"
},
"freeform": {
"key": "name"
}
},
{
"builtin": "brand",
"override": {
"question": {
"en": "Is this hostel part of a bigger brand?"
}
}
},
"contact",
"internet-all",
"dog-access"
],
"lineRendering": [
{
"width": 1,
"color": "blue"
}
],
"name": {
"en": "Hostels"
},
"id": "hostel",
"description": {
"en": "A hostel is a type of tourist accomodation where people can sleep in a room shared with strangers"
},
"source": {
"osmTags": "tourism=hostel"
},
"title": {
"render": {
"en": "Hostel {name}"
}
}
}