141 lines
No EOL
2.9 KiB
JSON
141 lines
No EOL
2.9 KiB
JSON
{
|
|
"id": "indoors",
|
|
"name": {
|
|
"en": "indoors",
|
|
"de": "Innenräume",
|
|
"nl": "Binnenruimtes"
|
|
},
|
|
"description": {
|
|
"en": "Basic indoor mapping: shows room outlines",
|
|
"de": "Grundlegende Innenraumkartierung: zeigt Umrisse von Räumen",
|
|
"nl": "Een basis voor indoor-navigatie: toont binnenruimtes"
|
|
},
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"indoor=room",
|
|
"indoor=area",
|
|
"indoor=wall",
|
|
"indoor=door",
|
|
"indoor=level"
|
|
]
|
|
}
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Indoor area {name}",
|
|
"de": "Innenbereich {name}",
|
|
"nl": "Binnenruimte {name}"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "indoor=room",
|
|
"then": {
|
|
"en": "Indoor Room {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=area",
|
|
"then": {
|
|
"en": "Indoor Area {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=wall",
|
|
"then": {
|
|
"en": "Indoor Wall {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=corridor",
|
|
"then": {
|
|
"en": "Indoor Corridor {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=door",
|
|
"then": {
|
|
"en": "Indoor Door {name}"
|
|
}
|
|
},
|
|
{
|
|
"if": "indoor=level",
|
|
"then": {
|
|
"en": "Indoor Level {name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"minzoom": 13,
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "ref",
|
|
"question": {
|
|
"en": "What is the name of this room?"
|
|
},
|
|
"render": {
|
|
"en": "This room is named {name}"
|
|
},
|
|
"freeform": {
|
|
"key": "name"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
],
|
|
"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",
|
|
"then": "./assets/layers/indoors/room_toilets.svg"
|
|
},
|
|
{
|
|
"if": "room=toilets",
|
|
"then": "./assets/layers/indoors/room_toilets.svg"
|
|
}
|
|
]
|
|
},
|
|
"iconSize": "15,15, center"
|
|
}
|
|
]
|
|
} |