This ticket is to report a mismatch between the camera target and the actual device location, when the Mapbox China Plugin for Android is being used and the LocationComponent is in TRACKING camera mode.
LocationComponent with the TRACKING camera mode.The camera stays directly centered on the device location puck.
The camera target location has a mismatch with the device's location (puck).
Android versions: Pie
Device models: OnePlus 5
Mapbox SDK versions: 8.0.0
@LukasPaczos ' comments about this from a conversation elsewhere:
The shifter will translate all of the GeoJSON shapes (
Pointobjects), that's why the puck is rendered at the correct place, but it won't impact the camera position (LatLngobjects).
that
Point.fromLngLat(latLng.getLongitude(), latLng.getLattitude())is an often practice, which would result in double shifting. We should probably introduce the shifting whenever a rawLatLngis passed to core instead, which means a lot of entry points though.
cc @chriswu42 @Chaoba as fyi about this
@Chaoba can you look into this?
@chriswu42 No problem, I will address this issue.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
Most helpful comment
cc @chriswu42 @Chaoba as fyi about this