Class: TraceRouteDestination

bemap.TraceRouteDestination(optionsopt)

new TraceRouteDestination(optionsopt)

BeNomad BeMap JavaScript API - TraceRouteDestination One GPS-trace sample posted to the TraceRoute endpoint. Wire shape mirrors the BeMap server contract (cross-checked against `bemap-flutter-api/lib/service/trace_route/model/request/trace_route_destination.dart`): { coordinateSat: { lon, lat, alt?, heading?, speed?, time?, sat? }, keptByMinimalWp?: bool, customData?: [...] }
Parameters:
Name Type Attributes Description
options Object <optional>
Properties
Name Type Attributes Description
coordinateSat bemap.CoordinateSat | bemap.Coordinate | Object <optional>
Required in practice.
keptByMinimalWp Boolean <optional>
Keep this waypoint in the response even when the NO_MINIMAL_WAYPOINTS option is not set.
customData Array.<Object> <optional>
Since:
  • 1.5.0
Source:

Methods

(static) fromCoordinate(input, optionsopt) → {bemap.TraceRouteDestination}

Convenience factory — accepts a `Coordinate`, `CoordinateSat`, or plain `{lon, lat, alt?, heading?, speed?, time?, sat?}` object.
Parameters:
Name Type Attributes Description
input bemap.Coordinate | bemap.CoordinateSat | Object
options Object <optional>
Extra fields forwarded to the constructor.
Source:
Returns:
Type
bemap.TraceRouteDestination