This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
MyLocation view position is wrong after disable my location a while #6167
Labels
Android
Mapbox Maps SDK for Android
Platform: Android
Mapbox SDK version: 4.2.0-beta.1
Steps to trigger behavior
mapboxMap.setMyLocationEnabled(true);
to show current user's loationmapboxMap.setMyLocationEnabled(false);
for a while (10 minutes or more).mapboxMap.setMyLocationEnabled(true);
.--> At this moment, the my location "icon" will slowly move to the current position. Sometimes, it only move to a place which near my current location which is different from
LocationServices.getLocationServices(getContext()).getLastLocation()
.Expected behavior
MyLocation should move faster when it's re-enabled or should visible immediately (or is there any wait to do so?).
**notes: you can re-create this bug easily with
Lockito
mock location in any android Device.The text was updated successfully, but these errors were encountered: