Skip to content

fix: LatLng is not finite exception#2208

Closed
maheshj01 wants to merge 1 commit into
fleaflet:masterfrom
maheshj01:fix/issue-2199
Closed

fix: LatLng is not finite exception#2208
maheshj01 wants to merge 1 commit into
fleaflet:masterfrom
maheshj01:fix/issue-2199

Conversation

@maheshj01

@maheshj01 maheshj01 commented May 24, 2026

Copy link
Copy Markdown

Fixes: #2199

@JaffaKetchup JaffaKetchup requested a review from a team May 24, 2026 22:34
@maheshj01

Copy link
Copy Markdown
Author

@JaffaKetchup Any update on the review?
This is severely affecting our production app

@JaffaKetchup

Copy link
Copy Markdown
Member

Unfortunately I'm still away and will be for a little while more. @fleaflet/maintainers is anyone else around to look into this? That would be amazing thanks.

@maurovanetti

Copy link
Copy Markdown

We're using it in production, it looks correct and indeed prevents the bug.
It's skipping zoom and recenter when the new provided values are invalid, instead of raising an exception.
It's still unclear to me why sometimes the values provided are invalid, though.

@JaffaKetchup

Copy link
Copy Markdown
Member

Thanks for this PR @maheshj01. I'll keep it in mind for a future fix, but as a quick fix, I'm going to just revert the original PR - since I'm not comfortable that this will fix ALL the possible issues that that PR introduced. Please see #2218.

@JaffaKetchup JaffaKetchup changed the title Fix: Latlng is not finite exception fix: LatLng is not finite exception Jun 30, 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.

Many interactions throw "LatLng is not finite" error

4 participants