mapcomplete/assets/layers/indoors/indoors.json
2022-07-27 10:16:11 +02:00

87 lines
No EOL
1.6 KiB
JSON

{
"id": "indoors",
"name": {
"en": "indoors",
"de": "Innenräume"
},
"description": {
"en": "Basic indoor mapping: shows room outlines",
"de": "Grundlegende Innenraumkartierung: zeigt Umrisse von Räumen"
},
"source": {
"osmTags": {
"or": [
"indoor=room",
"indoor=area",
"indoor=wall",
"indoor=door",
"indoor=level"
]
}
},
"title": {
"render": {
"en": "Indoor area {name}",
"de": "Innenbereich {name}"
},
"mappings": [
{
"if": "indoor=room",
"then": "Indoor Room {name}"
},
{
"if": "indoor=area",
"then": "Indoor Area {name}"
},
{
"if": "indoor=wall",
"then": "Indoor Wall {name}"
},
{
"if": "indoor=corridor",
"then": "Indoor Corridor {name}"
},
{
"if": "indoor=door",
"then": "Indoor Door {name}"
},
{
"if": "indoor=level",
"then": "Indoor Level {name}"
}
]
},
"minzoom": 13,
"tagRenderings": [
"images"
],
"mapRendering": [
{
"color": {
"render": "#d3d7d588"
},
"width": {
"render": "8"
},
"offset": {
"render": "-4"
},
"fill": "no"
},
{
"color": "#4f5551",
"fill": "no",
"width": "2"
},
{
"label": {
"render": "<div style='margin-top: -20px; color:#013220; background:white' class='rounded-full p-1 font-bold'>{name}</div>",
"condition": "name~*"
},
"location": [
"point",
"centroid"
]
}
]
}