present Routes
fun presentRoutes(routes: RouteList, mainRoute: Route? = null, displayBubble: Boolean = false, displayRouteName: Boolean = true, displayTrafficIcon: Boolean = true, displayFerryIcon: Boolean = true, displayTollIcon: Boolean = true, centerMapView: Boolean = true, animation: Animation = Animation(EAnimation.Linear, 1000), displayMode: ERouteDisplayMode = ERouteDisplayMode.Full, edgeAreaInsets: Rect? = null): Boolean
Presents the provided routes on the map. If display bubble is false then no label will be visible.
Parameters
routes
Routes list to be presented.
main Route
Will be highlighted as main route. Default is first of the routes.
display Bubble
Will display a bubble with route information, default false.
display Traffic Icon
Will display traffic icon, if available, default true.
display Ferry Icon
Will display ferry icon, if available, default true.
display Toll Icon
Will display toll icon, if available, default true.
center Map View
Will center this MapView on provided routes, default true.
animation
Will be used to center the view on routes only if centerOnRoutes is true.
display Mode
Route display mode.
edge Area Insets
Edge area insets in pixels.