mapbox / mapbox/mapbox-navigation-ios
App freezes when zoom out NavigationViewController
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
Hi
On our ios application, we are using the mapbox embed navigation method for navigation. When I try to zoom out the navigation map view fast, the app becomes unresponsive. I'm getting this issue most of the time.
I tested with latest SDK versions by creating a sample project, I got the same issue.
I have attached the sample project and a screen recording video with this. Please check these attachments and fix the issue.
Also, give me a solution for setting English as the preferred language in Navigation map view.
you can download my sample project from here
**https://drive.google.com/uc?id=1lwi6iF-lmdxfTniC1NK5RUKbVOezNnlJ&export=download**
[sample project](https://drive.google.com/uc?id=1lwi6iF-lmdxfTniC1NK5RUKbVOezNnlJ&export=download)
Also check screen recording
**https://support.mapbox.com/attachments/token/diCPxVVLYa8ZI1OXbSNzDTczi/?name=RPReplay_Final1563088697.MP4**
[screen recording](https://support.mapbox.com/attachments/token/diCPxVVLYa8ZI1OXbSNzDTczi/?name=RPReplay_Final1563088697.MP4)
### Steps to reproduce
1. download and run the sample project which i attatched with this email.
2. During navigation try to zoom in zoom out mapview fast.
### Expected behavior
It should be working without stuck.
### Actual behavior
Sometimes App will get stuck, during zoom in and zoom out
### Configuration
**Mapbox SDK versions:**
'MapboxNavigation', '~> 0.33.0'
'Mapbox-iOS-SDK'
'MapboxDirections.swift', '~> 0.28.0'
**iOS/macOS versions:**
ss
Mac osx mojave
**Device/simulator models:**
iphone 7
**Xcode version:**
xcode 11
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 with the attached sample project and reproduce the freeze from NavigationViewController while rapidly zooming the navigation map, using the listed MapboxNavigation 0.33.0 configuration on an iPhone 7. Compare the expected responsive behavior with the observed unresponsive state; the separate request for English language preference also needs clarification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100