RouteInformation

data class RouteInformation(route: DirectionsRoute?, location: Location?, routeProgress: RouteProgress?)

This class holds all information related to a route and a user's progress along the route. It also provides useful information (screen configuration and target distance) which can be used to make additional configuration changes to the map's camera.

Constructors

RouteInformation
Link copied to clipboard
fun RouteInformation(route: DirectionsRoute?, location: Location?, routeProgress: RouteProgress?)

Functions

component1
Link copied to clipboard
operator fun component1(): DirectionsRoute?
component2
Link copied to clipboard
operator fun component2(): Location?
component3
Link copied to clipboard
operator fun component3(): RouteProgress?
copy
Link copied to clipboard
fun copy(route: DirectionsRoute?, location: Location?, routeProgress: RouteProgress?): RouteInformation
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

location
Link copied to clipboard
val location: Location?
The user's current location along the route.
route
Link copied to clipboard
val route: DirectionsRoute?
The current route the user is navigating along.
routeProgress
Link copied to clipboard
val routeProgress: RouteProgress?
The user's current progress along the route.