目录

TurnPointBubbleInfo

Class Info

public class TurnPointBubbleInfo

Lane-level guidance bubble entity class.

Public Method Summary

Qualifier and Type

Method Name and Description

String

getBubbleText()

Obtains the text displayed in the guidance bubble.

float

getCoordPercent()

Obtains the position percentage of the guidance bubble among shape points.

String

getIconId()

Obtains the icon ID of the maneuver point of the guidance bubble.

int

getLinkIndex()

Obtains the index of the link where the maneuver point is located.

int

getOrientation()

Obtains the orientation of the guidance bubble.

float

getRelativeCoord()

Obtains the relative index of the coordinate point of the lane-level guidance bubble.

int

getTurnTextType()

Obtains the type of the text displayed in the guidance bubble.

String

toString()

Converts the lane-level guidance bubble object into a character string.

Public Methods

[h2]getBubbleText

Method

public String getBubbleText()

Obtains the text displayed in the guidance bubble.

Returns

Type

Description

String

Text displayed in the guidance bubble.

[h2]getCoordPercent

Method

public float getCoordPercent()

Obtains the position percentage of the guidance bubble among shape points.

Returns

Type

Description

float

Position percentage of the guidance bubble among shape points. The percentage is calculated as follows: Distance between the bubble position and the previous shape point/Distance between the previous and next shape points x 100%.

[h2]getIconId

Method

public String getIconId()

Obtains the icon ID of the maneuver point of the guidance bubble.

Returns

Type

Description

String

Icon ID of the maneuver point of the guidance bubble.

[h2]getLinkIndex

Method

public int getLinkIndex()

Obtains the index of the link where the maneuver point is located.

Returns

Type

Description

int

Index of the link where the maneuver point is located.

[h2]getOrientation

Method

public int getOrientation()

Obtains the orientation of the guidance bubble.

Returns

Type

Description

int

Orientation of the guidance bubble.

[h2]getRelativeCoord

Method

public float getRelativeCoord()

Obtains the relative index of the coordinate point of the lane-level guidance bubble.

Returns

Type

Description

float

Relative index of the coordinate point of the lane-level guidance bubble, which is calculated by plus the link ID of the lane-level guidance start point and the shape point index percentage received from the cloud.

[h2]getTurnTextType

Method

public int getTurnTextType()

Obtains the type of the text displayed in the guidance bubble.

Returns

Type

Description

int

Type of the text displayed in the guidance bubble.

[h2]toString

Method

public String toString()

Converts the lane-level guidance bubble object into a character string.

Returns

Type

Description

String

Character string of the lane-level guidance bubble object.