Skip to content

Commit

Permalink
Merge pull request #780 from opentripplanner/correct-area-zoom-display
Browse files Browse the repository at this point in the history
fix: add missing `minzoom` to area border
  • Loading branch information
miles-grant-ibigroup committed Sep 27, 2024
2 parents 9187bed + 1165285 commit 43cee77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/otp2-tile-overlay/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ const OTP2TileLayerWithPopup = ({
filter={filter}
id={`${id}-outline`}
layout={{ "line-join": "round", "line-cap": "round" }}
minzoom={stopsWhitelist ? 2 : 14}
paint={{
"line-color": ROUTE_COLOR_EXPRESSION,
"line-opacity": 0.8,
Expand Down

0 comments on commit 43cee77

Please sign in to comment.