mapcomplete/assets/layers/indoors/indoors.json

87 lines
1.6 KiB
JSON
Raw Normal View History

2022-07-12 15:02:49 +02:00
{
"id": "indoors",
"name": {
2022-07-27 10:16:11 +02:00
"en": "indoors",
"de": "Innenräume"
2022-07-12 15:02:49 +02:00
},
"description": {
2022-07-27 10:16:11 +02:00
"en": "Basic indoor mapping: shows room outlines",
"de": "Grundlegende Innenraumkartierung: zeigt Umrisse von Räumen"
},
2022-07-12 15:02:49 +02:00
"source": {
"osmTags": {
"or": [
"indoor=room",
"indoor=area",
"indoor=wall",
"indoor=door",
"indoor=level"
]
}
},
"title": {
"render": {
2022-07-27 10:16:11 +02:00
"en": "Indoor area {name}",
"de": "Innenbereich {name}"
2022-07-12 15:02:49 +02:00
},
"mappings": [
{
"if": "indoor=room",
2022-07-13 10:53:55 +02:00
"then": "Indoor Room {name}"
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=area",
2022-07-13 10:53:55 +02:00
"then": "Indoor Area {name}"
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=wall",
2022-07-13 10:53:55 +02:00
"then": "Indoor Wall {name}"
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=corridor",
2022-07-13 10:53:55 +02:00
"then": "Indoor Corridor {name}"
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=door",
2022-07-13 10:53:55 +02:00
"then": "Indoor Door {name}"
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=level",
2022-07-13 10:53:55 +02:00
"then": "Indoor Level {name}"
2022-07-12 15:02:49 +02:00
}
]
},
"minzoom": 13,
"tagRenderings": [
"images"
],
"mapRendering": [
{
"color": {
"render": "#d3d7d588"
2022-07-12 15:02:49 +02:00
},
"width": {
2022-07-13 10:53:55 +02:00
"render": "8"
2022-07-12 15:02:49 +02:00
},
"offset": {
2022-07-13 10:53:55 +02:00
"render": "-4"
},
"fill": "no"
},
{
2022-07-26 16:58:51 +02:00
"color": "#4f5551",
2022-07-13 10:53:55 +02:00
"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"
]
2022-07-12 15:02:49 +02:00
}
]
}