Class Info |
|---|
public class MapRoadName Road name entity, which is delivered with the route planning data. |
Constructor Name |
|---|
public MapRaodName(); Creates a MapRoadName object using an empty parameter. |
public MapRoadName(MapRoadName temp); Creates a MapRoadName object using the specified parameter. |
Qualifier and Type | Method Name and Description |
|---|---|
String | Obtains the default road name in the TomTom link data. |
String | Obtains the road name in the set language. |
String | Obtains the code of the set language. |
String | Obtains the road name in the local language. |
String | Obtains the code of the local language. |
int | Obtains the index of the start point among shape points. |
int | Obtains the index of the first link on the road name section. |
int | Obtains the index of the last link on the road name section. |
List<NaviLatLng> | getPnts() Obtains shape points of the road name section. |
int | Obtains the index of the end point among shape points. |
void | append(List<NaviLatLng> points) Adds a list of shape points. |
String | toString() Converts the MapRoadName object into a character string. |
Constructor |
|---|
public MapRoadName(MapRoadName temp) Builds a MapRoadName instance based on the passed parameter. |
Parameters
Name | Description |
|---|---|
temp | Information about road sections divided by road name. |
Method |
|---|
public String getDefalutRoadName(); Obtains the default road name in the TomTom link data. |
Returns
Type | Description |
|---|---|
String | Default road name. |
Method |
|---|
public String getSettingRoadName(); Obtains the road name in the set language. |
Returns
Type | Description |
|---|---|
String | Road name in the set language. |
Method |
|---|
public String getSettingLanguage(); Obtains the code of the set language. |
Returns
Type | Description |
|---|---|
String | Code of the set language, which is a 3-letter code such as ENG and CHL. |
Method |
|---|
public String getLocalRoadName(); Obtains the road name in the local language. |
Returns
Type | Description |
|---|---|
String | Road name in the local language. |
Method |
|---|
public String getLocalLanguage() Obtains the code of the local language. |
Returns
Type | Description |
|---|---|
String | Code of the local language, which is a 3-letter code such as ENG and CHL. |
Method |
|---|
public int getStartPntIdx(); Obtains the index of the start point among shape points. |
Returns
Type | Description |
|---|---|
int | Index of the start point among shape points. |
Method |
|---|
public int getStartLinkIdx(); Obtains the index of the first link in the step. |
Returns
Type | Description |
|---|---|
int | Index of the first link in the step. |
Method |
|---|
public int getEndLinkIdx() Obtains the index of the last link in the step. |
Returns
Type | Description |
|---|---|
int | Index of the last link in the step. |
Method |
|---|
public List<NaviLatLng> getPnts(); Obtains shape points of the road name section. |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | Shape points of the step. |
Method |
|---|
public int getEndPntIdx() Obtains the index of the end point among shape points. |
Returns
Type | Description |
|---|---|
int | Index of the end point among shape points. |
Method |
|---|
public void append(List<NaviLatLng> points); Adds a list of shape points. |
Parameters
Name | Description |
|---|---|
points | A list of shape points. |