Synthèse
A maneuver or an event along a route.
Discussion
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.
Syntaxe
DirectionPoint (element)
Paramètre | Explication | Type de données |
element | The element the direction point is associated with. The element can be a traversed junction or a traversed edge. | Object |
Propriétés
Propriété | Explication | Type de données |
alternateName (Lecture et écriture) | The alternate name components in the directions. | DirectionsName |
arrivalTime (Lecture seule) | The time when the direction point will be reached (in local time). The value generated by the engine for new points. | DateTime |
azimuth (Lecture seule) | 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 (Lecture et écriture) | The signpost branch name components in the directions. | DirectionsName |
directionPointType (Lecture et écriture) | The direction point type. | DirectionPointType |
displayText (Lecture et écriture) | The directions text formatted for display in the UI. | String |
exitName (Lecture et écriture) | The highway exit name components in the directions. | DirectionsName |
exitNumber (Lecture seule) | The exit number on a roundabout. | Integer |
intersectingNames (Lecture et écriture) | The iterable of name components of the intersecting or cross street in the directions. | DirectionsName |
name (Lecture et écriture) | The name components of the direction point. | DirectionsName |
positionAlong (Lecture et écriture) | 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 (Lecture et écriture) | A shortened version of the directions text formatted for voice guidance. The text will include expanded abbreviations and plurals. | String |
towardNames (Lecture et écriture) | The signpost toward destination name components in the directions. | DirectionsName |
voiceInstruction (Lecture et écriture) | The directions text formatted for voice guidance. The text will include expanded abbreviations and plurals. | String |
Vous avez un commentaire à formuler concernant cette rubrique ?