mapbox / mapbox/mapbox-navigation-android
Glitchy camera with 3D terrains active
Nobody has claimed this yet.
- 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
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
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