RouteFeatureData

data class RouteFeatureData(route: DirectionsRoute, featureCollection: FeatureCollection, lineString: LineString)

An association between a DirectionsRoute, FeatureCollection and LineString.

Parameters

route

a DirectionsRoute

featureCollection

a FeatureCollection created using the route

lineString

a LineString derived from the route's geometry.

Constructors

RouteFeatureData
Link copied to clipboard
fun RouteFeatureData(route: DirectionsRoute, featureCollection: FeatureCollection, lineString: LineString)
a DirectionsRoute

Functions

component1
Link copied to clipboard
operator fun component1(): DirectionsRoute
component2
Link copied to clipboard
operator fun component2(): FeatureCollection
component3
Link copied to clipboard
operator fun component3(): LineString
copy
Link copied to clipboard
fun copy(route: DirectionsRoute, featureCollection: FeatureCollection, lineString: LineString): RouteFeatureData
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

featureCollection
Link copied to clipboard
val featureCollection: FeatureCollection
a FeatureCollection created using the route
lineString
Link copied to clipboard
val lineString: LineString
a LineString derived from the route's geometry.
route
Link copied to clipboard
val route: DirectionsRoute
a DirectionsRoute