build

fun build(): MapboxRouteLineViewOptions

Creates an instance of MapboxRouteLineViewOptions.

Return

an instance of MapboxRouteLineViewOptions.

Throws

if provided originIconId or destinationIconId are not valid drawable resources.