DirectionPoint

Zusammenfassung

A maneuver or an event along a route.

Diskussion

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.

Syntax

DirectionPoint (element)
ParameterErläuterungDatentyp
element

The element the direction point is associated with. The element can be a traversed junction or a traversed edge.

Object

Eigenschaften

EigenschaftErläuterungDatentyp
alternateName
(Lesen und schreiben)

The alternate name components in the directions.

DirectionsName
arrivalTime
(Schreibgeschützt)

The time when the direction point will be reached (in local time).

The value generated by the engine for new points.

DateTime
azimuth
(Schreibgeschützt)

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
(Lesen und schreiben)

The signpost branch name components in the directions.

DirectionsName
directionPointType
(Lesen und schreiben)

The direction point type.

DirectionPointType
displayText
(Lesen und schreiben)

The directions text formatted for display in the UI.

String
exitName
(Lesen und schreiben)

The highway exit name components in the directions.

DirectionsName
exitNumber
(Schreibgeschützt)

The exit number on a roundabout.

Integer
intersectingNames
(Lesen und schreiben)

The iterable of name components of the intersecting or cross street in the directions.

DirectionsName
name
(Lesen und schreiben)

The name components of the direction point.

DirectionsName
positionAlong
(Lesen und schreiben)

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
(Lesen und schreiben)

A shortened version of the directions text formatted for voice guidance.

The text will include expanded abbreviations and plurals.

String
towardNames
(Lesen und schreiben)

The signpost toward destination name components in the directions.

DirectionsName
voiceInstruction
(Lesen und schreiben)

The directions text formatted for voice guidance.

The text will include expanded abbreviations and plurals.

String