Skip to main content

Class: AbstractWaypoint

An abstract implementation of Waypoint.

Hierarchy

Implements

Constructors

constructor

new AbstractWaypoint(): AbstractWaypoint

Returns

AbstractWaypoint

Accessors

location

get location(): Subscribable<GeoPointInterface>

The geographic location of the waypoint.

Returns

Subscribable<GeoPointInterface>

Implementation of

Waypoint.location

Defined in

src/sdk/navigation/Waypoint.ts:52


type

get type(): string

The unique string type of this waypoint.

Returns

string

Implementation of

Waypoint.type

Defined in

src/sdk/navigation/Waypoint.ts:54


uid

get uid(): string

A unique string ID assigned to this waypoint.

Returns

string

Implementation of

Waypoint.uid

Defined in

src/sdk/navigation/Waypoint.ts:53

Methods

equals

equals(other): boolean

Checks whether this waypoint and another are equal.

Parameters

NameTypeDescription
otherWaypointThe other waypoint.

Returns

boolean

whether this waypoint and the other are equal.

Implementation of

Waypoint.equals

Defined in

src/sdk/navigation/Waypoint.ts:57