You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Expose MGLMapView's zoomToSouthWestCoordinate:northEastCoordinate:animated: method in public header #1775
For what it's worth, here is the workaround I've been using. This one zooms to fit the current annotations, but as part of the process calculates SW and NE bounds. Adjust the globalWidth value to get the "fit" you need.
Activity
1ec5 commentedon Jun 23, 2015
Covered by #1092 and #1433. Edge insets would be useful as well.
tomtaylor commentedon Jun 23, 2015
Ah, thanks, understood. Do you know when this is planned for? It's my last issue with an
RMMapViewport that can't be easily worked around for now.picciano commentedon Jun 23, 2015
For what it's worth, here is the workaround I've been using. This one zooms to fit the current annotations, but as part of the process calculates SW and NE bounds. Adjust the
globalWidthvalue to get the "fit" you need.tomtaylor commentedon Jun 23, 2015
@picciano amazing, thanks!
tomtaylor commentedon Jun 26, 2015
Great, thanks!