forked from MapComplete/MapComplete
Refactoring: update icons to markers
This commit is contained in:
parent
cda5805307
commit
8c7f686931
8 changed files with 92 additions and 63 deletions
|
@ -352,17 +352,21 @@
|
|||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "circle",
|
||||
"color": "white"
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/cafe_pub/pub.svg",
|
||||
"render": "./assets/layers/cafe_pub/pub.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "amenity=cafe",
|
||||
"then": "circle:white;./assets/layers/cafe_pub/cafe.svg"
|
||||
"then": "./assets/layers/cafe_pub/cafe.svg"
|
||||
},
|
||||
{
|
||||
"if": "amenity=nightclub",
|
||||
"then": "circle:white;./assets/layers/cafe_pub/nightclub.svg"
|
||||
"then": "./assets/layers/cafe_pub/nightclub.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue