Show only borders of areas with events
This commit is contained in:
parent
7ad3896cdd
commit
908093dd6f
|
@ -86,7 +86,8 @@ export const getRegionLayers = (adminLevel = 6, baseColor = "#00897B", maxValue
|
|||
"maxzoom": 10,
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "admin_level", adminLevel]
|
||||
["==", "admin_level", adminLevel],
|
||||
[">", "overtaking_event_count", 0],
|
||||
],
|
||||
"paint": {
|
||||
"fill-color": baseColor,
|
||||
|
@ -117,7 +118,8 @@ export const getRegionLayers = (adminLevel = 6, baseColor = "#00897B", maxValue
|
|||
"maxzoom": 10,
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "admin_level", adminLevel]
|
||||
["==", "admin_level", adminLevel],
|
||||
[">", "overtaking_event_count", 0],
|
||||
],
|
||||
"paint": {
|
||||
"line-width": 1,
|
||||
|
|
Loading…
Reference in a new issue