AreaAlongRoute

class AreaAlongRoute(val corridorWidth: Distance = DEFAULT_CORRIDOR_WIDTH)

Defines an area along a route.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(corridorWidth: Distance = DEFAULT_CORRIDOR_WIDTH)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The width of the route corridor (a non-negative value). This is the distance between the edges of the corridor. The center of the corridor matches the route polyline.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this AreaAlongRoute object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this AreaAlongRoute object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.