You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MyLocationTracking.TRACKING_FOLLOW does not cope well with map.setPadding #6768
Doing map.setPadding while on user tracking mode (MyLocationTracking.TRACKING_FOLLOW) pushed the user dot away from the correct location.
Platform:
Android
Mapbox SDK version:
4.2.0-beta3
Steps to trigger behavior
Reproducible in the Mapbox Dev Preview app, try setting some map padding e.g. map.setPadding(0, 0, 0, 400) after the enableLocationTracking() method call.
Expected behavior
User dot stays in the correct location.
Actual behavior
User dot pushed away to map center, which IMO is wrong.
Thx for the quick reply. I just ran the demo app against the snapshot (com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0-SNAPSHOT), issue is unfortunately still there.
Activity
tobrun commentedon Oct 20, 2016
Would you be able to retest with latest snapshot?
We have fixed some bugs related to MyLocationView since beta.3.
I tested MapPaddingActivity from master and added:
Closing as resolved, feel free to comment if there is still an issue with the snapshot.
Thank you for reaching out and reporting your issue!
eddieux commentedon Oct 20, 2016
Thx for the quick reply. I just ran the demo app against the snapshot (com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0-SNAPSHOT), issue is unfortunately still there.
tobrun commentedon Jan 24, 2017
Haven't been able to reproduce this issue locally. Feel free to add more information if still reproducible from your end. Closing.