mapbox / mapbox/mapbox-navigation-android

NavigationCamera doesn't track the user's location

Open
#3,565 4 comments 0 reactions 0 assignees View on GitHub

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
  1. Set style to MapboxMap
  2. Activate the location component
mapboxMap.locationComponent.apply {
    activateLocationComponent(LocationComponentActivationOptions.builder(requireContext(), style).build())
    cameraMode = CameraMode.TRACKING
    isLocationComponentEnabled = true
}
  1. Create a NavigationMapboxMap
    NavigationMapboxMap(mapView, mapboxMap, ...)
Expected behavior

User's location is tracked

Actual behavior

User's location is NOT tracked

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.