diff --git a/MapboxNavigation/NavigationMapView.swift b/MapboxNavigation/NavigationMapView.swift index fbe60f9e1e..abf89ca50b 100644 --- a/MapboxNavigation/NavigationMapView.swift +++ b/MapboxNavigation/NavigationMapView.swift @@ -278,6 +278,7 @@ open class NavigationMapView: MGLMapView, UIGestureRecognizerDelegate { installUserCourseView() styleObservation = observe(\.style, options: .new) { [weak self] (mapView, change) in + guard change.newValue != nil else { return } guard let self = self else { return } if let routes = self.routes, let currentRoute = routes.first {