-
Notifications
You must be signed in to change notification settings - Fork 35
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
moveTo/slideTo rectangle #58
Comments
Not sure what you mean? |
Sorry, I thought this was going to show up under feature requests, and to be a little more clear, it would be nice to have a mapView function similar to moveToAndCenter or slideToAndCenter where you pass it a top left/bottom right or Rectangle object, (either image coords or geo coords) and it will move and zoom you to a best fit of that rectangle. Technically, it's possible now by figuring out the scale factor difference between my rectangle and the overall size of the map, then setting the zoom factor, but it might be nice to have built in support. |
I see - yes, I've been asked about that before. I've added it to the feature list - thanks for your input. |
This has been implemented in TileView (https://github.com/moagrius/TileView)... Although I actually added it to ZoomPanLayout (it's inherited by TileView, of course). |
It would be nice to move/slide to a rectangle and have the zoom level set appropriately
The text was updated successfully, but these errors were encountered: