Skip to main content

DirectionPoint

汇总

沿路径的行进策略或事件。

讨论

方向点与交汇点或边相关联。 它们(方向点)会保存将在输出方向上报告的信息。

DirectionsCustomizer 类用于更新、添加或移除方向点。

语法

DirectionPoint(element)

名称 说明 数据类型

element

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

Object

属性

名称 说明 数据类型

alternateName

(读取和写入)

方向中的备用名称组成部分。

DirectionsName

arrivalTime

(只读)

将到达方向点的时间(当地时间)。

引擎针对新点生成的值。

DateTime

azimuth

(只读)

离开范围 [0, 360] 内点的车辆的方位角,以度为单位。

零值指示北向。 由引擎针对新点生成该值。

Float

branchNames

(读取和写入)

方向中的路标分支名称组成部分。

DirectionsName

directionPointType

(读取和写入)

方向点类型。

DirectionPointType

displayText

(读取和写入)

针对在 UI 中显示而格式化的方向文本。

String

exitName

(读取和写入)

方向中的高速公路出口名称组成部分。

DirectionsName

exitNumber

(只读)

环状交叉路上的出口编号。

Integer

intersectingNames

(读取和写入)

方向中相交街道或十字路街道的名称组成部分的迭代。

DirectionsName

name

(读取和写入)

方向点的名称组成部分。

DirectionsName

positionAlong

(读取和写入)

方向点沿边的位置。

该值必须介于边的起始位置和结束位置之间。 如果其位于交汇点处,则值必须为 0.0。

Float

shortVoiceInstruction

(读取和写入)

针对语音导航而格式化的方向文本的缩短版本。

该文本将包括展开的缩写和复数形式。

String

towardNames

(读取和写入)

方向中指向目的地名称组成部分的路标。

DirectionsName

voiceInstruction

(读取和写入)

针对语音导航而格式化的方向文本。

该文本将包括展开的缩写和复数形式。

String