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.

[Android] UserLocationView shadow (and BearingTracking) #4136

Closed

Description

@mayardb

Hi MapBox Team!

we have some few needs about the UserLocationView that we want to share with you:

  • we need the UserLocationView to have a shadow to look like elevated
  • we need the BearingTracking not to me disabled when starting a Gesture.

That's why we worked on these issues (Pull Request following).

Activity

  1. added 7 commits that reference this issue on Feb 29, 2016
  2. tobrun commented on Mar 1, 2016

    @tobrun
    Member

    @mayardb
    Great, looking forward to the PR's coming from this.

    we need the BearingTracking not to me disabled when starting a Gesture.

    I have currenly exposed the following method in TrackingSettings.java

      public void setDismissTrackingOnGesture(boolean dismissTrackingOnGesture) {
            this.dismissTrackingOnGesture = dismissTrackingOnGesture;
            validateGesturesForTrackingModes();
        }

    If false, this will not disabled gestures anymore in the way it used to.
    If this covering your use case? or do you need to explicitly stop only location tracking and not bearingtracking?

  3. tobrun commented on Mar 1, 2016

    @tobrun
    Member

    I just noticed this line in the PR where you are indeed managing them separately.

  4. added
    Android
    on Mar 1, 2016
  5. added this to the android-v4.0.0 milestone on Mar 1, 2016
  6. tobrun commented on Mar 1, 2016

    @tobrun
    Member

    @bleege @zugaldia:

    The contents of the related PR contains following functionality:

    • managing tracking modes separately when a gesture occurs, this is now managed by one flag for both location and bearing tracking with setDismissTrackingOnGesture()
    • expose API to change the UserLocationView drawables
    • expose an API to add shadow to UserLocationView
  7. mayardb commented on Mar 1, 2016

    @mayardb
    ContributorAuthor

    @tobrun:

    Is setDismissTrackingOnGesture covering your use case ?

    It is not. We currently need the location tracking to be dismissed when starting a gesture, but the bearing tracking to stay. We also need the map not to head to user direction but this functionality is not managed in this Pull Request.

  8. 20 remaining items

  9. removed this from the android-v4.1.0 milestone on Mar 18, 2016
  10. added 10 commits that reference this issue on Apr 7, 2016
  11. tobrun commented on May 4, 2016

    @tobrun
    Member

    This features has landed in #4396

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

Metadata

Metadata

Assignees

Labels

Androidfeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions