We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8721dbd commit 7732666Copy full SHA for 7732666
Sources/MapboxNavigation/NavigationMapView.swift
@@ -340,10 +340,7 @@ open class NavigationMapView: UIView {
340
mapView.mapboxMap.onEvery(.renderFrameFinished) { [weak self] _ in
341
guard let self = self,
342
let location = self.mostRecentUserCourseViewLocation else { return }
343
- switch self.userLocationStyle {
344
- case .courseView: self.moveUserLocation(to: location)
345
- default: break
346
- }
+ self.moveUserLocation(to: location)
347
348
if self.simulatesLocation {
349
if let locationProvider = self.mapView.location.locationProvider {
0 commit comments