mapbox / mapbox/mapbox-navigation-ios
mapViewUserAnchorPoint on NavigationViewControllerDelegate has no effect.
@MaximAlien is already working on this.
Since Nov 15, 2021.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
Test App Repo:
(This is essentially just Mapboxes tutorial app)
https://github.com/JustinmClapperton/mapboxIosTest
Example Video:
https://drive.google.com/file/d/1jy2JCdjmXaUqwlBGw9pW-RWSU9BrwtoB/view?usp=sharing
**Mapbox Navigation SDK version:**
1.4.0
### Steps to reproduce
1. Open application
2. Long press on destination
3. Press Start Navigation
4. Notice the use puck anchor hasnt changed
### Expected behavior
User puck should be at the location define in
```
func navigationViewController(_ navigationViewController: NavigationViewController, mapViewUserAnchorPoint mapView: NavigationMapView) -> CGPoint {
return CGPoint(x: 100, y: 100)
}
```
### Actual behavior
The user puck does not move at all as if the above method is completely ignored. It seems that it isnt passed through to the underlying MapView.
Any advice on a work around for this if possible would be much appreciated.
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.
Assessment
This issue has not been assessed yet.