Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Known issue] Custom location puck disables map matching #4428

Open
azarovalex opened this issue Apr 14, 2023 · 0 comments
Open

[Known issue] Custom location puck disables map matching #4428

azarovalex opened this issue Apr 14, 2023 · 0 comments
Assignees

Comments

@azarovalex
Copy link
Member

In NavSDK 2.12.0 and older, usage of custom Puck2DConfiguration to replace the default navigation puck with a custom icon leads to map matching being disabled, which means the locations puck will no longer snap to the roads.

This is considered a known issue and there is a temporary workaround we propose:
Use UserLocationStyle.courseView with a custom subclass of UserCourseView instead of using .puck2d.
Here is a ready-to-use implementation: CustomCourseView.swift

@azarovalex azarovalex self-assigned this Apr 14, 2023
@azarovalex azarovalex changed the title [Known issue] Using custom location puck disables map matching [Known issue] Custom location puck disables map matching May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant