Resumen
A maneuver or an event along a route.
Debate
Direction points are associated with a junction or an edge. They (direction points) hold the information that will be reported in the output directions.
The DirectionsCustomizer class is used to update, add, or remove direction points.
Sintaxis
DirectionPoint (element)
Parámetro | Explicación | Tipo de datos |
element | The element the direction point is associated with. The element can be a traversed junction or a traversed edge. | Object |
Propiedades
Propiedad | Explicación | Tipo de datos |
alternateName (Lectura y escritura) | The alternate name components in the directions. | DirectionsName |
arrivalTime (Sólo lectura) | The time when the direction point will be reached (in local time). The value generated by the engine for new points. | DateTime |
azimuth (Sólo lectura) | The bearing, in degrees, of the vehicle departing the point in range [0, 360]. A value of zero indicates north. The value is generated by the engine for new points. | Float |
branchNames (Lectura y escritura) | The signpost branch name components in the directions. | DirectionsName |
directionPointType (Lectura y escritura) | The direction point type. | DirectionPointType |
displayText (Lectura y escritura) | The directions text formatted for display in the UI. | String |
exitName (Lectura y escritura) | The highway exit name components in the directions. | DirectionsName |
exitNumber (Sólo lectura) | The exit number on a roundabout. | Integer |
intersectingNames (Lectura y escritura) | The iterable of name components of the intersecting or cross street in the directions. | DirectionsName |
name (Lectura y escritura) | The name components of the direction point. | DirectionsName |
positionAlong (Lectura y escritura) | The position of the direction point along an edge. The value must be between the edge's from and to positions. If it's on a junction, the value must be 0.0. | Float |
shortVoiceInstruction (Lectura y escritura) | A shortened version of the directions text formatted for voice guidance. The text will include expanded abbreviations and plurals. | String |
towardNames (Lectura y escritura) | The signpost toward destination name components in the directions. | DirectionsName |
voiceInstruction (Lectura y escritura) | The directions text formatted for voice guidance. The text will include expanded abbreviations and plurals. | String |