mapbox / mapbox/mapbox-navigation-android
NavigationCamera doesn't track the user's location
Open
Nobody has claimed this yet.
Core
UI
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Mapbox Navigation SDK version: 1.0.0-rc.8
Steps to trigger behavior
- Set style to MapboxMap
- Activate the location component
mapboxMap.locationComponent.apply {
activateLocationComponent(LocationComponentActivationOptions.builder(requireContext(), style).build())
cameraMode = CameraMode.TRACKING
isLocationComponentEnabled = true
}
- Create a NavigationMapboxMap
NavigationMapboxMap(mapView, mapboxMap, ...)
Expected behavior
User's location is tracked
Actual behavior
User's location is NOT tracked
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the listed MapboxMap location-component setup, CameraMode.TRACKING, and NavigationMapboxMap(mapView, mapboxMap, ...). Start by tracing how NavigationMapboxMap interacts with the activated location component and camera mode. Done means the user's location is tracked after NavigationMapboxMap is created, as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100