forked from MapComplete/MapComplete
Add presets and titles
This commit is contained in:
parent
f7506e07cd
commit
5290e0042b
2 changed files with 30 additions and 2 deletions
|
@ -11,13 +11,41 @@
|
|||
"source": {
|
||||
"osmTags": "tourism=hotel"
|
||||
},
|
||||
"minzoom": 13,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Hotel",
|
||||
"nl": "Hotel"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": {
|
||||
"en": "Hotel {name}",
|
||||
"nl": "Hotel {name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a hotel",
|
||||
"nl": "een hotel"
|
||||
},
|
||||
"tags": [
|
||||
"tourism=hotel"
|
||||
]
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": "pin:white"
|
||||
"icon": "circle:white;./assets/layers/hotel/hotel.svg",
|
||||
"iconSize": "40,40,center"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue