Skip to content

feat: calculate polyline visibility based on strokeWidth#2184

Open
braindamagedman wants to merge 3 commits intofleaflet:masterfrom
braindamagedman:fix/thick-polyline-visibility
Open

feat: calculate polyline visibility based on strokeWidth#2184
braindamagedman wants to merge 3 commits intofleaflet:masterfrom
braindamagedman:fix/thick-polyline-visibility

Conversation

@braindamagedman
Copy link

@braindamagedman braindamagedman commented Feb 23, 2026

For thick polylines, setting cullingMargin: null is not always sufficient: if all polyline points are outside the viewport, the polyline is not rendered. This can be undesirable in many cases.

ezgif-27183e0c0d11c842-ezgif com-loop-count

@JaffaKetchup
Copy link
Member

Thanks for submitting this! We'll try to take a look at it as soon as we can :)

@braindamagedman
Copy link
Author

I fixed the formatting, but I’m not sure how to deal with the scoring issues.

@JaffaKetchup JaffaKetchup requested a review from a team February 28, 2026 15:33
@JaffaKetchup JaffaKetchup changed the title Calculate polyline visibility based on strokeWidth feat: calculate polyline visibility based on strokeWidth Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants