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
shouldFit
If
true
geometry of all routes will be used for camera transition. Iffalse
geometry of only first route will be used. Defaults totrue
.