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.

Refactor tracking modes + make configurable #3899

Closed

Description

@tobrun

We first refactored MapView into MapboxMap and afterwards start moving contents from MapboxMap into smaller testable classes eg. UiSettings and Projection. I'm suggesting to do the same for anything related to tracking modes. This class will also be responsible for configuration.

eg.
I have been hearing about not stopping tracking when a gesture occurs.

Activity

  1. added
    Android
    on Feb 11, 2016
  2. added this to the android-v4.0.0 milestone on Feb 11, 2016
  3. tobrun commented on Feb 11, 2016

    @tobrun
    MemberAuthor

    Going to pick this up for map padding in #3761 because it is impossible to test gestures with LocationTracking enabled.

  4. tobrun commented on Feb 11, 2016

    @tobrun
    MemberAuthor

    Here is an example how the API will look for end users:
    screen shot 2016-02-11 at 10 12 07

  5. tobrun commented on Feb 11, 2016

    @tobrun
    MemberAuthor

    The benefit that this gives is that setMyLocationEnabled and setMyLocationTrackingMode are now found on separate classes. This will make the api more concrete and will lower developer friction when autocompleting (eg. less confusion because our specific API's are hidden versus google parity api's).

  6. added 2 commits that reference this issue on Feb 11, 2016
  7. tobrun commented on Feb 15, 2016

    @tobrun
    MemberAuthor

    Landed with #3942

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

    Androidrefactor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions