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.
Implement missing geography functions in Android from iOS #1948
MGLCoordinateBoundsGetCoordinateSpan: BoundingBox.getLatitudeSpan() and BoundingBox.getLongitudeSpan() are already implemented, but it would make sense to combine them into a BoundingBox.getSpan() that returns a CoordinateSpan.
MGLStringFromCoordinateBounds: Already implemented as BoundingBox.toString().
Activity
1ec5 commentedon Jul 28, 2015
Not all of them are publicly exposed; see MGLMapView.h for the public ones. There is a bunch more geometry in MGLGeometry.h as well.
ljbade commentedon Aug 14, 2015
OK specific public ones are at #2076
As for
MGLGeometryseems Android missing:MGLCoordinateBoundsGetCoordinateSpanMGLCoordinateBoundsOffsetMGLStringFromCoordinateBoundsMGLCoordinateBoundsIsEmpty1ec5 commentedon Aug 14, 2015
MGLCoordinateBoundsGetCoordinateSpan:BoundingBox.getLatitudeSpan()andBoundingBox.getLongitudeSpan()are already implemented, but it would make sense to combine them into aBoundingBox.getSpan()that returns aCoordinateSpan.MGLStringFromCoordinateBounds: Already implemented asBoundingBox.toString().ljbade commentedon Aug 14, 2015
@1ec5 good spotting!
2 remaining items
ljbade commentedon Nov 2, 2015
Need to implement
BoundingBox.getSpan(),MGLCoordinateBoundsOffsetandMGLCoordinateBoundsIsEmptytobrun commentedon Feb 16, 2016
The requested methods have been made obsolete in favor of
LatLngSpanandLatLngBounds.Closing.