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

@ -1206,9 +1206,13 @@
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": {
"render": "circle:white;./assets/layers/food/restaurant.svg",
"render": "./assets/layers/food/restaurant.svg",
"mappings": [
{
"if": {
@ -1217,11 +1221,11 @@
"cuisine=friture"
]
},
"then": "circle:white;./assets/layers/food/fries.svg"
"then": "./assets/layers/food/fries.svg"
},
{
"if": "amenity=fast_food",
"then": "circle:white;./assets/layers/food/fastfood.svg"
"then": "./assets/layers/food/fastfood.svg"
}
]
}