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