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

Reliabler way of checking map readyness state #13

Merged
merged 1 commit into from
Jan 16, 2013

Conversation

yohanboniface
Copy link
Contributor

I found that the check on the zoom can have some weird behaviours.
My case was using hash with locate: if you init hash before calling locate, so the map hasn't called yet _resetView, and so is not fully ready for hash needs.
I think that using the _loaded property is more reliable.

Thanks!

Yohan

mlevans pushed a commit that referenced this pull request Jan 16, 2013
Reliabler way of checking map readyness state
@mlevans mlevans merged commit 07f9178 into mlevans:master Jan 16, 2013
@mlevans
Copy link
Owner

mlevans commented Jan 16, 2013

Looks good, 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