mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

[Known issue] Custom location puck disables map matching

Open azarovalex opened this issue 2 years ago • 0 comments

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 avatar Apr 14 '23 10:04 azarovalex