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:
- Source:
Methods
Convenience factory — accepts a `Coordinate`, `CoordinateSat`, or
plain `{lon, lat, alt?, heading?, speed?, time?, sat?}` object.
Parameters:
- Source:
Returns:
-
Type
-
bemap.TraceRouteDestination