Refactoring: update icons to markers

This commit is contained in:
Pieter Vander Vennet 2023-10-07 03:04:49 +02:00
parent cda5805307
commit 8c7f686931
8 changed files with 92 additions and 63 deletions

View file

@ -650,9 +650,13 @@
"pointRendering": [
{
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": {
"render": "circle:white;./assets/layers/sport_pitch/sport_pitch.svg",
"render": "./assets/layers/sport_pitch/sport_pitch.svg",
"mappings": [
{
"if": {
@ -669,7 +673,7 @@
"sport=equestrian"
]
},
"then": "circle:white;./assets/layers/sport_pitch/{sport}.svg"
"then": "./assets/layers/sport_pitch/{sport}.svg"
}
]
}