Skip to content

Commit

Permalink
Merge pull request #60 from krasch/circle-edge-event-interaction
Browse files Browse the repository at this point in the history
Remove the outlines from non-visible circles
  • Loading branch information
krasch authored Dec 19, 2024
2 parents e9bd67f + e7a000d commit d6b802a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion style/map/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@ const mapStyles = [
0.6,
0,
],
"circle-stroke-width": 1,
"circle-stroke-width": [
"case",
["boolean", ["feature-state", "isVisible"], false],
1,
0,
],
"circle-stroke-color": [
"to-color",
["feature-state", "circleColor"],
Expand Down

0 comments on commit d6b802a

Please sign in to comment.