NavigationMapView
open class NavigationMapView: MGLMapView
NavigationMapView
is a subclass of MGLMapView
with convenience functions for adding Route
lines to a map.
-
Adds or updates both the route line and the route line casing
Declaration
Swift
public func showRoute(_ route: Route)
-
Removes route line and route line casing from map
Declaration
Swift
public func removeRoute()