Class Info |
|---|
public class MapNaviBranch Road link branch entity class. |
Qualifier and Type | Field and Description | Value |
|---|---|---|
public static final int | Enter branch. | 1 |
public static final int | Exit branch. | 2 |
Qualifier and Type | Method Name and Description |
|---|---|
int | getAttr() Obtains attributes of the current branch. |
List<NaviLatLng> | Obtains a list of coordinate points on the branch road in the route planning scope. |
String | Obtains the road ID of the current branch. |
int | getDir4k() Obtains the direction of the current branch (4K). |
int | Obtains the direction of the current branch. |
float | Obtains the length of the branch link. |
List<Integer> | Obtains a list of indexes of entrance branch links. |
int | getIndex() Obtains the index of the current branch. |
List<MapNaviBranch> | Obtains the index and reference of the branch connected to the current route. |
List<Integer> | Obtains a list of indexes of exit branch links. |
Fields |
|---|
public static final int ENTER_BRANCH Enter branch. ENTER_BRANCH: 1 For other constant values, please refer to Constant-values. |
Fields |
|---|
public static final int EXIT_BRANCH Exit branch. EXIT_BRANCH: 2 For other constant values, please refer to Constant-values. |
Method |
|---|
public int getAttr() Obtains attributes of the current branch. |
Returns
Type | Description |
|---|---|
int | Attributes of the current branch.
|
Method |
|---|
public List<NaviLatLng> getCoords() Obtains a list of coordinate points on the branch road in the route planning scope. |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | A list of coordinate points on the branch road. |
Method |
|---|
public String getCurRoadID() Obtains the road ID of the current branch. |
Returns
Type | Description |
|---|---|
String | Road ID of the current branch. |
Method |
|---|
public int getDir4k() Obtains the direction of the current branch (4K). |
Returns
Type | Description |
|---|---|
int | Direction of the current branch. (It is used for 4K bypass weakening.)
|
Method |
|---|
public int getDirection() Obtains the direction of the current branch. |
Returns
Type | Description |
|---|---|
int | Direction of the current branch.
|
Method |
|---|
public float getDistance() Obtains the length of the branch link. |
Returns
Type | Description |
|---|---|
float | Length of the branch link, in meters. |
Method |
|---|
public List<Integer> getEnterBranchIndexs() Obtains a list of indexes of entrance branch links. |
Returns
Type | Description |
|---|---|
List<Integer> | List of indexes of entrance branch links. |
Method |
|---|
public int getIndex() Obtains the index of the current branch. |
Returns
Type | Description |
|---|---|
int | Index of the current branch. |
Method |
|---|
public List<MapNaviBranch> getNextBranches() Obtains the index and reference of the branch connected to the current route. |
Returns
Type | Description |
|---|---|
List<MapNaviBranch> | Index and reference of the branch connected to the current route. |