Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Incorrect userLocation annotation position after zoomLevel is changed #10108

Closed
ungurdav opened this issue Oct 3, 2017 · 3 comments
Closed
Labels
annotations Annotations on iOS and macOS or markers on Android archived Archived because of inactivity iOS Mapbox Maps SDK for iOS

Comments

@ungurdav
Copy link

ungurdav commented Oct 3, 2017

Platform: iOS
Mapbox SDK version: 3.6.2

User puck is drawn in a different place after zoomLevel is changed and userTrackingMode is set to followWithCourse and userLocationVerticalAlignment is set to bottom.

Steps to trigger behavior

  1. mapView.userLocationVerticalAlignment = .bottom

  2. mapVIew.setUserTrackingMode(.followWithCourse, animated: false)

  3. mapView.setZoomLevel(14, animated: true)

Expected behavior

Map should zoom out and user annotation/puck should stay at the same place as it was before the animation started.

Actual behavior

User puck moves to a different place (where the user isn't). Panning the map helps to redraw the puck in correct location.

@fabian-guerra fabian-guerra added annotations Annotations on iOS and macOS or markers on Android iOS Mapbox Maps SDK for iOS labels Oct 3, 2017
@stale stale bot added the archived Archived because of inactivity label Nov 3, 2018
@stale
Copy link

stale bot commented Dec 3, 2018

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Dec 3, 2018
@julianrex julianrex reopened this Dec 3, 2018
@stale stale bot removed the archived Archived because of inactivity label Dec 3, 2018
@1ec5
Copy link
Contributor

1ec5 commented Jan 12, 2019

The userLocationVerticalAlignment property was deprecated in favor of a delegate method in #12907.

@stale stale bot added the archived Archived because of inactivity label Jul 11, 2019
@stale
Copy link

stale bot commented Jul 11, 2019

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android archived Archived because of inactivity iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

4 participants