-
Notifications
You must be signed in to change notification settings - Fork 939
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
zoom in on bounds of markers #17
Comments
Just to make sure, in |
that seems to be the issue, shoudl I maybe bind to the idle event on the map? what's the best way to tell if it's initialized? |
binding on onIdle is working. thanks! |
I don't event know there's an |
thanks for this component, saving me time for sure! one thing i'm trying to do at the moment is zoom in on the bounds of the markers I have loaded into the map.
I have a ref on the component, and it's calling the method in componentDidMount, but it's not zooming in to fit the bounds.
is there something else I have to do to get the map to react to what i'm doing?
I have this same code working in a non-reactjs based mapping app.
The text was updated successfully, but these errors were encountered: