added an indoors layer + theme
This commit is contained in:
parent
3058781ac6
commit
c33ca35029
7 changed files with 257 additions and 146 deletions
66
assets/layers/indoors/indoors.json
Normal file
66
assets/layers/indoors/indoors.json
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"id": "indoors",
|
||||
"name": {
|
||||
"en": "indoors"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"indoor=room",
|
||||
"indoor=area",
|
||||
"indoor=wall",
|
||||
"indoor=corridor",
|
||||
"indoor=door",
|
||||
"indoor=level"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Indoor area"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "indoor=room",
|
||||
"then": "Indoor Room"
|
||||
},
|
||||
{
|
||||
"if": "indoor=area",
|
||||
"then": "Indoor Area"
|
||||
},
|
||||
{
|
||||
"if": "indoor=wall",
|
||||
"then": "Indoor Wall"
|
||||
},
|
||||
{
|
||||
"if": "indoor=corridor",
|
||||
"then": "Indoor Corridor"
|
||||
},
|
||||
{
|
||||
"if": "indoor=door",
|
||||
"then": "Indoor Door"
|
||||
},
|
||||
{
|
||||
"if": "indoor=level",
|
||||
"then": "Indoor Level"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minzoom": 13,
|
||||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"color": {
|
||||
"render": "red"
|
||||
},
|
||||
"width": {
|
||||
"render": "4"
|
||||
},
|
||||
"offset": {
|
||||
"render": "-8"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue