目录

MapRoadName

Class Info

public class MapRoadName

Road name entity, which is delivered with the route planning data.

Public Constructor Summary

Constructor Name

public MapRaodName();

Creates a MapRoadName object using an empty parameter.

public MapRoadName(MapRoadName temp);

Creates a MapRoadName object using the specified parameter.

Public Method Summary

Qualifier and Type

Method Name and Description

String

getDefalutRoadName()

Obtains the default road name in the TomTom link data.

String

getSettingRoadName()

Obtains the road name in the set language.

String

getSettingLanguage()

Obtains the code of the set language.

String

getLocalRoadName()

Obtains the road name in the local language.

String

getLocalLanguage()

Obtains the code of the local language.

int

getStartPntIdx()

Obtains the index of the start point among shape points.

int

getStartLinkIdx()

Obtains the index of the first link on the road name section.

int

getEndLinkIdx()

Obtains the index of the last link on the road name section.

List<NaviLatLng>

getPnts()

Obtains shape points of the road name section.

int

getEndPntIdx()

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.

Public Constructors

[h2]MapRaodName

Constructor

public MapRaodName()

Builds a MapRaodName instance.

[h2]MapRoadName(MapRoadName temp)

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.

Public Methods

[h2]getDefalutRoadName

Method

public String getDefalutRoadName();

Obtains the default road name in the TomTom link data.

Returns

Type

Description

String

Default road name.

[h2]getSettingRoadName

Method

public String getSettingRoadName();

Obtains the road name in the set language.

Returns

Type

Description

String

Road name in the set language.

[h2]getSettingLanguage

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.

[h2]getLocalRoadName

Method

public String getLocalRoadName();

Obtains the road name in the local language.

Returns

Type

Description

String

Road name in the local language.

[h2]getLocalLanguage

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.

[h2]getStartPntIdx

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.

[h2]getStartLinkIdx

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.

[h2]getEndLinkIdx

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.

[h2]getPnts

Method

public List<NaviLatLng> getPnts();

Obtains shape points of the road name section.

Returns

Type

Description

List<NaviLatLng>

Shape points of the step.

[h2]getEndPntIdx

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.

[h2]append

Method

public void append(List<NaviLatLng> points);

Adds a list of shape points.

Parameters

Name

Description

points

A list of shape points.

[h2]toString

Method

public String toString();

Character string converted from the object information.

Returns

Type

Description

String

Character string converted from the MapRoadName object.