DirectionPoint
サマリー
A maneuver or an event along a route.
ディスカッション
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.
構文
DirectionPoint(element)
| 名前 | 説明 | データ タイプ |
|---|---|---|
|
element |
The element the direction point is associated with. The element can be a traversed junction or a traversed edge. |
Object |
プロパティ
| 名前 | 説明 | データ タイプ |
|---|---|---|
|
alternateName (読み取り/書き込み) |
The alternate name components in the directions. |
DirectionsName |
|
arrivalTime (読み取り専用) |
The time when the direction point will be reached (in local time). The value generated by the engine for new points. |
DateTime |
|
azimuth (読み取り専用) |
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 (読み取り/書き込み) |
The signpost branch name components in the directions. |
DirectionsName |
|
directionPointType (読み取り/書き込み) |
The direction point type. |
DirectionPointType |
|
displayText (読み取り/書き込み) |
The directions text formatted for display in the UI. |
String |
|
exitName (読み取り/書き込み) |
The highway exit name components in the directions. |
DirectionsName |
|
exitNumber (読み取り専用) |
The exit number on a roundabout. |
Integer |
|
intersectingNames (読み取り/書き込み) |
The iterable of name components of the intersecting or cross street in the directions. |
DirectionsName |
|
name (読み取り/書き込み) |
The name components of the direction point. |
DirectionsName |
|
positionAlong (読み取り/書き込み) |
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 (読み取り/書き込み) |
A shortened version of the directions text formatted for voice guidance. The text will include expanded abbreviations and plurals. |
String |
|
towardNames (読み取り/書き込み) |
The signpost toward destination name components in the directions. |
DirectionsName |
|
voiceInstruction (読み取り/書き込み) |
The directions text formatted for voice guidance. The text will include expanded abbreviations and plurals. |
String |