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.

Map view sometimes fails to update with user location anchor point #13041

Closed

Description

@captainbarbosa

Steps to reproduce

  1. Run iosapp in this branch: https://github.com/mapbox/mapbox-gl-native/tree/user-location-delegate-demo
  2. Select the Offset user location annotation option and enter any value, such as 100/100
  3. After selecting Okay, [MGLMapView updateUserLocationAnnotationView] is called to update the anchor point of the user location annotation. However, the map view does not update along with the center point. If you toggle the tracking mode again, or the location manager receives a new location update, the map view appears to update to the new anchor point as expected.

This is a bit of an edge case, as I suspect that this only happens when calling [MGLMapView updateUserLocationAnnotationView] with a new, dynamic value.

Expected behavior

The map view should update immediately when dynamically changing the anchor point of the user location annotation.

Actual behavior

The map view may lag when dynamically changing the anchor point of the user location annotation.

Configuration

Mapbox SDK versions: 4.5.0-alpha.2
iOS/macOS versions: iOS 11.4
Device/simulator models: iPhone X physical device (doesn't reproduce well on simulator)
Xcode version: 9.4

cc @1ec5 @julianrex @friedbunny

Activity

  1. added
    iOS
    on Oct 6, 2018
  2. added
    archived
    on Apr 4, 2019
  3. stale commented on Apr 4, 2019

    @stale

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

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

    archivedbugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions