Skip to content

Conversation

korzhyk
Copy link
Contributor

@korzhyk korzhyk commented May 18, 2013

When LatLngBounds extend, must check the extending object, because empty marker L.marker().getLatLng() got undefined and obj[0] got TypeError

Andrii Korzh added 2 commits May 18, 2013 13:20
When LatLngBounds extend, must check the extending object, because empty marker `L.marker().getLatLng()` got `undefined` and `obj[0]` got `TypeError`
mourner added a commit that referenced this pull request May 18, 2013
TypeError prevention on LatLngBounds extend
@mourner mourner merged commit b4f0b05 into Leaflet:master May 18, 2013
@mourner
Copy link
Member

mourner commented May 18, 2013

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