mapcomplete/assets/layers/indoors/indoors.json

141 lines
2.9 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",
2022-07-28 09:30:45 +02:00
"de": "Innenräume",
"nl": "Binnenruimtes"
2022-07-12 15:02:49 +02:00
},
"description": {
2022-07-27 10:16:11 +02:00
"en": "Basic indoor mapping: shows room outlines",
2022-07-28 09:30:45 +02:00
"de": "Grundlegende Innenraumkartierung: zeigt Umrisse von Räumen",
"nl": "Een basis voor indoor-navigatie: toont binnenruimtes"
},
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}",
2022-07-28 09:30:45 +02:00
"de": "Innenbereich {name}",
"nl": "Binnenruimte {name}"
2022-07-12 15:02:49 +02:00
},
"mappings": [
{
"if": "indoor=room",
2022-07-27 14:57:35 +02:00
"then": {
"en": "Indoor Room {name}"
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=area",
2022-07-27 14:57:35 +02:00
"then": {
"en": "Indoor Area {name}"
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=wall",
2022-07-27 14:57:35 +02:00
"then": {
"en": "Indoor Wall {name}"
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=corridor",
2022-07-27 14:57:35 +02:00
"then": {
"en": "Indoor Corridor {name}"
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=door",
2022-07-27 14:57:35 +02:00
"then": {
"en": "Indoor Door {name}"
}
2022-07-12 15:02:49 +02:00
},
{
"if": "indoor=level",
2022-07-27 14:57:35 +02:00
"then": {
"en": "Indoor Level {name}"
}
2022-07-12 15:02:49 +02:00
}
]
},
"minzoom": 13,
"tagRenderings": [
2022-07-28 11:16:45 +02:00
"images",
{
"id": "ref",
2022-07-30 14:50:35 +02:00
"question": {
"en": "What is the name of this room?"
},
2022-07-28 11:16:45 +02:00
"render": {
"en": "This room is named {name}"
},
"freeform": {
"key": "name"
}
}
2022-07-12 15:02:49 +02:00
],
"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-27 14:57:35 +02:00
],
"icon": {
"render": null,
"condition": "indoor=room",
"mappings": [
{
"if": "room=auditorium",
"then": "./assets/layers/indoors/room_auditorium.svg"
},
{
"if": "room=conference",
"then": "./assets/layers/indoors/room_conference.svg"
},
{
"if": "room=storage",
"then": "./assets/layers/indoors/room_storage.svg"
},
{
"if": "room=toilet",
2022-08-03 13:04:20 +02:00
"then": "./assets/layers/indoors/room_toilets.svg"
2022-07-27 14:57:35 +02:00
},
{
"if": "room=toilets",
"then": "./assets/layers/indoors/room_toilets.svg"
}
]
},
"iconSize": "15,15, center"
2022-07-12 15:02:49 +02:00
}
]
}