IdentifiableRoute

data class IdentifiableRoute(route: DirectionsRoute, routeIdentifier: String)

A wrapper class for DirectionsRoute that includes an identity property that can be used to override the color of the route line.

Parameters

route

a DirectionsRoute to associate with an identifier

routeIdentifier

the identifier for the route

Constructors

IdentifiableRoute
Link copied to clipboard
fun IdentifiableRoute(route: DirectionsRoute, routeIdentifier: String)
a DirectionsRoute to associate with an identifier

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, routeIdentifier: String): IdentifiableRoute
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

route
Link copied to clipboard
val route: DirectionsRoute
a DirectionsRoute to associate with an identifier
routeIdentifier
Link copied to clipboard
val routeIdentifier: String
the identifier for the route