RoutesPresentationStyle
public enum RoutesPresentationStyle
A style that will be used when presenting routes on top of a map view by calling
NavigationMapView.showcase(_:routesPresentationStyle:animated:).
-
Only first route will be presented on a map view.
Declaration
Swift
case single -
All routes will be presented on a map view.
Declaration
Swift
case all(shouldFit: Bool = true)Parameters
shouldFitIf
truegeometry of all routes will be used for camera transition. Iffalsegeometry of only first route will be used. Defaults totrue.
Install in Dash
RoutesPresentationStyle Enumeration Reference