-
Notifications
You must be signed in to change notification settings - Fork 817
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
Fit to Bounds #283
Comments
@zackarychapple yeah a useful feature for sure. I plan to implement this. |
I've started an implementation in the linked PR, please advise! Thanks |
This feature would be great...i will follow the |
@SebastianM any thoughts on the PR? |
@zackarychapple do you have the bounds already available or do you want to generate the bounds out of the existing markers in the maps? Im asking because I think that are two separate features. |
<sebm-google-map [fitBounds]="myBounds"></sebm-google-map> Closes #283
<sebm-google-map [fitBounds]="myBounds"></sebm-google-map> Closes #283
<sebm-google-map [fitBounds]="myBounds"></sebm-google-map> Closes #283
@SebastianM sorry for the late reply, missed the notification. I do not have the bounds already, need to figure them out from the pins. |
I can't find an example on how to generate bounds so that it could be a LatLngBounds type to be able bind it to the angular 2 google maps. Can anyone give me an example? Thank you. |
I have ended up with a small workaround as discuss at #719 Same with @rushstrike, could someone updates the doc with more example? 👍 |
I am trying to use fit to bounds and would love if this was just a flag on the
sebm-google-map
component.The text was updated successfully, but these errors were encountered: