サマリー
Represents a single junction of a route.
説明
This object is acquired through DirectionsQuery and cannot be created. A typical route is an alternating sequence of edges and junctions, for example, RouteJunction -> RouteEdge -> RouteJunction -> RouteEdge -> RouteJunction.
The TraversedJunction class is inherited from the TraversedElement class, therefore, all the properties of the TraversedElement class are also accessible from the TraversedJunction class.
プロパティ
プロパティ | 説明 | データ タイプ |
arrivalTime (読み取り専用) | The calculated time of arrival (in local time). | DateTime |
arriveCurbApproach (読み取り専用) | The curb approach of a destination (if any) in the junction. | CurbApproach |
departureTime (読み取り専用) | The time of departure (in local time). | DateTime |
directionPoints (読み書き) | An iterable of the direction points associated with the junction. | DirectionPoint |
element (読み取り専用) | The network junction element. | Junction |
level (読み取り専用) | The level of the junction. | Integer |
names (読み取り専用) | An iterable of the names of the junction. | DirectionsName |
referenceLandmark (読み取り専用) | The reference landmark related to the junction. | ReferenceLandmark |
roadSplitID (読み取り専用) | The object ID of the related road split. | Integer |
signpostID (読み取り専用) | The object ID of the related signpost. | Integer |
spatialLandmarks (読み取り専用) | An iterable of spatial landmarks related to the junction. | SpatialLandmark |
timeWindowEnd (読み取り専用) | The end value of a time window in which a stop on the junction will be visited (in local time). | DateTime |
timeWindowStart (読み取り専用) | The start value of a time window in which a stop on the junction will be visited (in local time). | DateTime |
violationTime (読み取り専用) | The violation time, expressed in the network's time attribute units. | Float |
waitTime (読み取り専用) | The wait time between the arrival and the departure for a stop. The value is expressed in the network's time attribute units. | Float |
方法の概要
方法 | 説明 |
getName (index, mapping, fallback) | Gets the name of the junction. The full name or a portion of the name can be returned depending on the mapping parameter value. |
getNames (mapping, fallback) |
Gets the name of the junction. |
方法
getName (index, mapping, fallback)
パラメーター | 説明 | データ タイプ |
index | The type of name that will be retrieved (for example, PrimaryName = 0, AlternateName1 = 1, AlternateName2 = 2, and so on depending on the network dataset’s direction configuration). (デフォルト値は次のとおりです 0) | Integer |
mapping | The portion of the name that will be returned. (デフォルト値は次のとおりです DirectionsFieldMapping.FullName) | DirectionsFieldMapping |
fallback | The value if the junction does not contain the requested mapped property. (デフォルト値は次のとおりです "") | String |
データ タイプ | 説明 |
String | The name from the junction pursuant to the input parameters. None is also a valid return value. |
getNames (mapping, fallback)
パラメーター | 説明 | データ タイプ |
mapping | The portion of the name that will be returned. (デフォルト値は次のとおりです DirectionsFieldMapping.FullName) | DirectionsFieldMapping |
fallback | The value if the junction does not contain the requested mapped property. (デフォルト値は次のとおりです "") | String |
データ タイプ | 説明 |
Iterable | An iterable of the string consisting of names (primary and alternatives) from the junction. |