Constructor
new Destination(lon, lat, options)
Parameters:
| Name | Type | Description |
|---|---|---|
lon |
double | Longitude in degrees decimal (WGS84). |
lat |
double | Latitude in degrees decimal (WGS84). |
options |
Object | To set all fields of this class. |
- Source:
Members
altitude
(optional) altitude in meters.
- Source:
avoidUTurn
(optional) Defines if a UTurn should be avoided (if possible) by route planner at this location. Available values are YES, NO or UNDEF.
- Source:
heading
(optional) heading angle in degrees. For BeNomad engine: If the angle is not available, set this field and speed field to 0.
- Source:
ignorePoint
(optional) defines if this waypoint is ignored by the planner for its route calculation. Available values are true or false.
- Source:
ignoreRestrictions
(optional) Defines if forbidden maneuvers and blocked passages should be ignored by route planner between this waypoint and next one. Available values are true or false.
- Source:
ignoreRoadBlocks
(optional) Defines if road blocks should be ignored by route planner between this waypoint and next one. Available values are true or false.
- Source:
ignoreTrafficDirections
(optional) Defines if traffic directions should be ignored by route planner between this waypoint and next one. Available values are true or false.
- Source:
mandatory
(optional) If mandatory is set to true, the coordinate will be kept in the way-points response array. Available values are true or false.
- Source:
radius
(optional) radius in meters of the waypoint.
- Source:
satellite
(optional) number of available GPS satellite when the coordinate is collected.
- Source:
speed
(optional) speed in km/h. For BeNomad engine: Use this field only if the heading is available.
- Source:
time
(optional) time stamp of GPS coordinate in milliseconds.
- Source:
useStartAngle
(optional) If true and location is on is on a 2 way road, location's angle will be used as a general direction for departure from location. Available values are YES, NO or UNDEF.
- Source:
useStopRoadSide
(optional) Defines if route planner must arrive on this waypoint on waypoint's side (if waypoint is on a 2 way road). Available values are YES, NO or UNDEF.
- Source: