CountryBorderCrossingAlert

class CountryBorderCrossingAlert : RouteAlert

Route alert type that provides information about country border crossings on the route.

See also

Parameters

from

origin administrative info when crossing the country border

to

destination administrative info when crossing the country border

Types

Builder
Link copied to clipboard
class Builder(coordinate: Point, distance: Double)
Use to create a new instance.

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.
toBuilder
Link copied to clipboard
fun toBuilder(): CountryBorderCrossingAlert.Builder
Transform this object into a builder to mutate the values.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

alertGeometry
Link copied to clipboard
val alertGeometry: RouteAlertGeometry?
optional geometry details of the alert if it has a length
alertType
Link copied to clipboard
val alertType: Int
constant describing the alert type, see RouteAlertType.
coordinate
Link copied to clipboard
val coordinate: Point
location of the alert or its start point in case it has a length
distance
Link copied to clipboard
val distance: Double
distance to this alert since the start of the route
from
Link copied to clipboard
val from: CountryBorderCrossingAdminInfo?
origin administrative info when crossing the country border
to
Link copied to clipboard
val to: CountryBorderCrossingAdminInfo?
destination administrative info when crossing the country border