Builder

class Builder : ViewObjectDataBuilder<RouteData.Builder, MapRoute, RouteData>

Constructors

Builder
Link copied to clipboard
open fun Builder(@NonNull route: Route, creator: ObjectCreator<MapRoute, RouteData>)

Functions

build
Link copied to clipboard
fun build(): I
setType
Link copied to clipboard
open fun setType(type: Int): RouteData.Builder
Specifies type of the route.
setZIndex
Link copied to clipboard
fun setZIndex(zIndex: Int): B
useCustomColor
Link copied to clipboard
open fun useCustomColor(innerColor: Int, borderColor: Int): RouteData.Builder
Specifies custom color, which shall be used for the route.
withPayload
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B