addWithAttributes

external fun addWithAttributes(route: Route, bMainRoute: Boolean, label: String = String(), images: ImageList = ImageList())

Add or update a route in the collection.

Parameters

route

The route to be added.

bMainRoute

True if the route is the main route, false if alternative route

label

Route label string

images

Route label images