[com.ubercab] Incorrect map bounds when viewing the route in Uber
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Affected app
Name: Uber
Package id: com.ubercab
Describe the bug
When Uber is displaying the full route, the map is displayed incorrectly and doesn't match the route. It looks like Mapbox zoom calculation is done around the wrong point? The more you zoom in, the more correct it becomes. But as you zoom out, the route moves to the north.
This doesn't happen until you actually set a destination in Uber. At first, when you view the map with available cars, it looks correct. Also, it doesn't affect Lyft.
To Reproduce
Steps to reproduce the behavior:
- Open Uber
- Pick any destination
- Zoom out
Expected behavior
Route should align with the map
Screenshots
Initial view - clearly incorrect as it's over the water:

Zoomed in - more or less correct:

Zoomed out - route moves to the north:

System
Android Version: 10
Custom ROM: LineageOS 17.1
microG
microG Core version: 0.2.21.212158
microG Self-Check results: All ticked
Additional context
Contributor guide
No contributing guide indexed for this repository
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 on Android with Uber by selecting a destination and zooming out, then trace the Mapbox zoom or map-bounds calculation used for the full route. Compare the route alignment at different zoom levels and verify that the route remains aligned with the map without affecting the available-cars view or Lyft behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100