Skip to content

Comments

Calculate polyline visibility based on strokeWidth#2184

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

Calculate polyline visibility based on strokeWidth#2184
braindamagedman wants to merge 2 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.

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