Speelplekken style tweaks

This commit is contained in:
pietervdvn 2021-04-25 16:01:33 +02:00
parent 1f4b7b1254
commit 6b9d0162eb
2 changed files with 7 additions and 3 deletions

View file

@ -295,7 +295,7 @@
], ],
"hideUnderlayingFeaturesMinPercentage": 0, "hideUnderlayingFeaturesMinPercentage": 0,
"icon": { "icon": {
"render": "./assets/layers/sport_pitch/basketball.svg", "render": "circle:white;./assets/layers/sport_pitch/basketball.svg",
"mappings": [ "mappings": [
{ {
"if": { "if": {
@ -311,7 +311,7 @@
"sport=volleyball" "sport=volleyball"
] ]
}, },
"then": "./assets/layers/sport_pitch/{sport}.svg" "then": "circle:white;./assets/layers/sport_pitch/{sport}.svg"
} }
] ]
}, },

View file

@ -83,7 +83,7 @@
"and": [ "and": [
"type=route", "type=route",
"route=foot", "route=foot",
"operator=provincie Antwerpen" "operator~[pP]rovincie Antwerpen"
] ]
}, },
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{z}_{x}_{y}.geojson", "geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{z}_{x}_{y}.geojson",
@ -172,6 +172,10 @@
{ {
"if": "color~*", "if": "color~*",
"then": "{color}" "then": "{color}"
},
{
"if": "colour~*",
"then": "{colour}"
} }
] ]
}, },