AlternativeRouteIntersection

class AlternativeRouteIntersection

Valid only until RoutesObserver or NavigationRouteAlternativesObserver fires again.

Parameters

location

intersection point between the primary and alternative route

geometryIndexInRoute

geometry index of the intersection point (based on referenced route's geometry)

geometryIndexInLeg

geometry index of the intersection point (based on referenced route leg's geometry)

legIndex

index of the leg where the intersection point is found (based on the referenced route)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

geometryIndexInLeg
Link copied to clipboard
val geometryIndexInLeg: Int
geometry index of the intersection point (based on referenced route leg's geometry)
geometryIndexInRoute
Link copied to clipboard
val geometryIndexInRoute: Int
geometry index of the intersection point (based on referenced route's geometry)
legIndex
Link copied to clipboard
val legIndex: Int
index of the leg where the intersection point is found (based on the referenced route)
location
Link copied to clipboard
val location: Point
intersection point between the primary and alternative route