Interface

RouteEndpoint

RouteEndpoint

The coordinates of a route origin or destination, optionally with the id of the Location there.

Properties:
Name Type Attributes Description
lat number

The latitude in degrees.

lng number

The longitude in degrees.

floor string | number <optional>

The floor index. Include it when the endpoint is indoors.

id string <optional>

The id of the Location at this endpoint, recorded in analytics.

locationId string <optional>

The id of the Location at this endpoint, recorded in analytics. Takes precedence over id.

properties Object <optional>
originalId string <optional>

The id of the Location at this endpoint, recorded in analytics when id and locationId are absent.