Class Path

Class representing a path on the MapView.

Paths are used to indicate a route on the map and can be added and removed using Paths.add and Paths.remove.

Implements

Properties

Methods

Properties

animation: Promise<void>

The promise that resolves when the current path animation is complete.

coordinates: Coordinate[]

The coordinates of the path.

id: string

The path's id

segments: PathSegment[]

The segments of the path.

Methods

  • Checks if the provided instance is a Path.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is Path

    True if the instance is a Path, false otherwise.

MMNEPVFCICPMFPCPTTAAATR