forked from MapComplete/MapComplete
indoors layers added, labels added
This commit is contained in:
parent
c33ca35029
commit
f5f4d7bdcb
2 changed files with 28 additions and 12 deletions
|
@ -17,32 +17,32 @@
|
|||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Indoor area"
|
||||
"en": "Indoor area {name}"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "indoor=room",
|
||||
"then": "Indoor Room"
|
||||
"then": "Indoor Room {name}"
|
||||
},
|
||||
{
|
||||
"if": "indoor=area",
|
||||
"then": "Indoor Area"
|
||||
"then": "Indoor Area {name}"
|
||||
},
|
||||
{
|
||||
"if": "indoor=wall",
|
||||
"then": "Indoor Wall"
|
||||
"then": "Indoor Wall {name}"
|
||||
},
|
||||
{
|
||||
"if": "indoor=corridor",
|
||||
"then": "Indoor Corridor"
|
||||
"then": "Indoor Corridor {name}"
|
||||
},
|
||||
{
|
||||
"if": "indoor=door",
|
||||
"then": "Indoor Door"
|
||||
"then": "Indoor Door {name}"
|
||||
},
|
||||
{
|
||||
"if": "indoor=level",
|
||||
"then": "Indoor Level"
|
||||
"then": "Indoor Level {name}"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -53,14 +53,30 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"color": {
|
||||
"render": "red"
|
||||
"render": "#bb004488"
|
||||
},
|
||||
"width": {
|
||||
"render": "4"
|
||||
"render": "8"
|
||||
},
|
||||
"offset": {
|
||||
"render": "-8"
|
||||
}
|
||||
"render": "-4"
|
||||
},
|
||||
"fill": "no"
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
"startLat": 51.17181,
|
||||
"defaultBackgroundId": "CartoDB.Voyager",
|
||||
"startLon": 4.144383,
|
||||
"startZoom": 16,
|
||||
"startZoom": 14,
|
||||
"widenFactor": 2,
|
||||
"layers": [
|
||||
"indoors"
|
||||
|
|
Loading…
Reference in a new issue