Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add invalid bounds checking #40

Merged
merged 1 commit into from
Jul 29, 2021
Merged

Add invalid bounds checking #40

merged 1 commit into from
Jul 29, 2021

Conversation

Azbesciak
Copy link
Contributor

In some cases there can be layers without bounds, for example, empty polylines (in general - paths) made for dynamic changes or workarounds, like makinacorpus/Leaflet.TextPath#83. This fix prevents later exceptions on bounds relation calculation.

In some cases there can be layers without bounds, for example, empty polylines (in general - paths) made for dynamic changes or workarounds, like makinacorpus/Leaflet.TextPath#83. This fix prevents later exceptions on bounds relation calculation.
@Azbesciak
Copy link
Contributor Author

@zakjan could you please take a look at it and if you do not have any comments, merge & release? Thanks

@zakjan zakjan merged commit 93294de into zakjan:master Jul 29, 2021
@zakjan
Copy link
Owner

zakjan commented Jul 29, 2021

Thanks! Published as 2.2.5

@zakjan
Copy link
Owner

zakjan commented Jul 29, 2021

By any chance, this bug doesn't happen for you? #41

@Azbesciak
Copy link
Contributor Author

"Unfortunately" no, but I am using leaflet 1.5.1

@zakjan
Copy link
Owner

zakjan commented Jul 29, 2021

Interesting. It happens in the demo even with Leaflet 1.5.1. What's your MarkerCluster version?

@Azbesciak
Copy link
Contributor Author

1.4.1, I have my own cluster icon/tooltip also - maybe this is related.

@zakjan
Copy link
Owner

zakjan commented Jul 29, 2021

Ok, thanks.

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