forked from MapComplete/MapComplete
Add projected_centerpoint as pointrenderingoption
This commit is contained in:
parent
0c31e885e3
commit
0aae923187
8 changed files with 96 additions and 53 deletions
|
@ -52,7 +52,10 @@
|
|||
"helperArgs": [
|
||||
"name",
|
||||
{
|
||||
"notInstanceOf": ["Q79007","Q22698"],
|
||||
"notInstanceOf": [
|
||||
"Q79007",
|
||||
"Q22698"
|
||||
],
|
||||
"removePostfixes": [
|
||||
"steenweg",
|
||||
"heirbaan",
|
||||
|
@ -205,6 +208,29 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": [
|
||||
"projected_centerpoint"
|
||||
],
|
||||
"label": "<div class='bg-white rounded-full p-x-2'>LABEL</div>",
|
||||
"icon": {
|
||||
"render": "pin:#05d7fcaa",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name:etymology=",
|
||||
"name:etymology:wikidata="
|
||||
]
|
||||
},
|
||||
"then": "pin:#fcca05aa"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue