Class Info |
|---|
public class TurnPointBubbleInfo Lane-level guidance bubble entity class. |
Qualifier and Type | Method Name and Description |
|---|---|
String | Obtains the text displayed in the guidance bubble. |
float | Obtains the position percentage of the guidance bubble among shape points. |
String | Obtains the icon ID of the maneuver point of the guidance bubble. |
int | Obtains the index of the link where the maneuver point is located. |
int | Obtains the orientation of the guidance bubble. |
float | Obtains the relative index of the coordinate point of the lane-level guidance bubble. |
int | Obtains the type of the text displayed in the guidance bubble. |
String | toString() Converts the lane-level guidance bubble object into a character string. |
Method |
|---|
public String getBubbleText() Obtains the text displayed in the guidance bubble. |
Returns
Type | Description |
|---|---|
String | Text displayed in the guidance bubble. |
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%. |
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. |
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. |
Method |
|---|
public int getOrientation() Obtains the orientation of the guidance bubble. |
Returns
Type | Description |
|---|---|
int | Orientation of the guidance bubble. |
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. |