Add projected_centerpoint as pointrenderingoption

This commit is contained in:
Pieter Vander Vennet 2022-04-22 16:09:55 +02:00
parent 0c31e885e3
commit 0aae923187
8 changed files with 96 additions and 53 deletions

View file

@ -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"
}
}
]
}