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

error on getVisibleParent when no parents are visible #265

Closed
ajbeaven opened this issue Oct 23, 2013 · 1 comment
Closed

error on getVisibleParent when no parents are visible #265

ajbeaven opened this issue Oct 23, 2013 · 1 comment

Comments

@ajbeaven
Copy link

When the parent has been removed from the map you get a "Cannot read property '_icon' of undefined" when calling getVisibleParent.

no-parents

Hacky fix: vMarker != null so getVisibleParent returns undefined and whoever calls it can deal with it.

@danzel danzel closed this as completed in df054cf Oct 23, 2013
@danzel
Copy link
Member

danzel commented Oct 23, 2013

Thanks, fixed and added tests.

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

No branches or pull requests

2 participants