mapbox / mapbox/mapbox-navigation-android

Glitchy camera with 3D terrains active

Open
#5,461 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

**Mapbox Navigation:** 2.3.0-beta.2

When activating 3D terrains, the camera bounces when a pitch is set.

Let me know if I can provide more data.
Thanks!

### Steps to trigger behavior

```
mapView.getMapboxMap().loadStyle(
styleExtension = style(config.styleUrl) {
+rasterDemSource("TERRAIN_SOURCE") { url("mapbox://mapbox.mapbox-terrain-dem-v1") }
+terrain("TERRAIN_SOURCE") { exaggeration(1.1) }
}, this
)
```

### Expected behavior

https://user-images.githubusercontent.com/1552554/153584694-21cfeda1-9d49-467c-891e-26e3bb3254aa.mp4

### Actual behavior

https://user-images.githubusercontent.com/1552554/153584706-59b8def0-649d-4e25-90d2-5f553ccb3e26.mp4

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

Start by reproducing the provided Mapbox Navigation 2.3.0-beta.2 loadStyle snippet with the raster DEM source, terrain exaggeration, and a pitched camera, then compare the expected and actual videos. Done means the camera remains stable when 3D terrain is active and a pitch is set.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.