Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@ljbade

In MGLMapView.mm there is a bunch of functions under "Geography" that have not been implemented in Android.

Activity

  1. added
    GL JS parity
    Android
    on Jul 28, 2015
  2. added this to the milestone on Jul 28, 2015
  3. 1ec5 commented on Jul 28, 2015

    @1ec5
    Contributor

    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.

  4. ljbade commented on Aug 14, 2015

    @ljbade
    ContributorAuthor

    OK specific public ones are at #2076

    As for MGLGeometry seems Android missing:

    • MGLCoordinateBoundsGetCoordinateSpan
    • MGLCoordinateBoundsOffset
    • MGLStringFromCoordinateBounds
    • MGLCoordinateBoundsIsEmpty
  5. 1ec5 commented on Aug 14, 2015

    @1ec5
    Contributor
    • 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().
  6. ljbade commented on Aug 14, 2015

    @ljbade
    ContributorAuthor

    @1ec5 good spotting!

  7. modified the milestones: , on Aug 26, 2015
  8. 2 remaining items

  9. ljbade commented on Nov 2, 2015

    @ljbade
    ContributorAuthor

    Need to implement BoundingBox.getSpan(), MGLCoordinateBoundsOffset and MGLCoordinateBoundsIsEmpty

  10. modified the milestones: android-v2.3.0, on Dec 4, 2015
  11. tobrun commented on Feb 16, 2016

    @tobrun
    Member

    The requested methods have been made obsolete in favor of LatLngSpan and LatLngBounds.
    Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidGL JS parity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions