RouteLine

data class RouteLine(route: DirectionsRoute, identifier: String?)

Represents a route and an optional identification of used for representing routes on the map.

Parameters

route

a directions route

identifier

an optional identifier for the directions route which can be used to influence color of the route when it is an alternative route.

Constructors

RouteLine
Link copied to clipboard
fun RouteLine(route: DirectionsRoute, identifier: String?)
a directions route

Functions

component1
Link copied to clipboard
operator fun component1(): DirectionsRoute
component2
Link copied to clipboard
operator fun component2(): String?
copy
Link copied to clipboard
fun copy(route: DirectionsRoute, identifier: String?): RouteLine
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

identifier
Link copied to clipboard
val identifier: String?
an optional identifier for the directions route which can be used to influence color of the route when it is an alternative route.
route
Link copied to clipboard
val route: DirectionsRoute
a directions route

Extensions

toNavigationRouteLine
Link copied to clipboard