目录

MapRoadName

Class Info

public class MapRoadName

合并道路名信息的实体,随路线规划数据下发。

Public Constructor Summary

Constructor Name

public MapRaodName();

使用空的参数创建MapRoadName对象。

public MapRoadName(MapRoadName temp);

使用指定参数创建MapRoadName对象。

Public Method Summary

Qualifier and Type

Method Name and Description

String

getDefalutRoadName()

获取TomTom link数据中携带的默认道路名数据。

String

getSettingRoadName()

获取设置语言对应的道路名。

String

getSettingLanguage()

获取设置语言对应的语言码。

String

getLocalRoadName()

获取本地语言对应的道路名。

String

getLocalLanguage()

获取本地语言的语言码。

int

getStartPntIdx()

获取起点在形点中的索引。

int

getStartLinkIdx()

获取同路名段第一个link的索引。

int

getEndLinkIdx()

获取同路名段最后一个link的索引。

List<NaviLatLng>

getPnts()

获取对应段的形点。

int

getEndPntIdx()

获取终点在形点中的索引。

void

append(List<NaviLatLng> points)

添加形点集合的方法。

String

toString()

MapRoadName对象信息的字符串展示。

Public Constructors

[h2]MapRaodName

Constructor

public MapRaodName()

构建一个MapRaodName实例。

[h2]MapRoadName(MapRoadName temp)

Constructor

public MapRoadName(MapRoadName temp)

根据传入参数构建一个MapRoadName实例。

Parameters

Name

Description

temp

以不同路名划分的分段信息。

Public Methods

[h2]getDefalutRoadName

Method

public String getDefalutRoadName();

获取TomTom link数据中懈怠的默认道路名数据。

Returns

Type

Description

String

默认道路名数据。

[h2]getSettingRoadName

Method

public String getSettingRoadName();

获取设置语言对应的道路名。

Returns

Type

Description

String

设置语言对应的道路名。

[h2]getSettingLanguage

Method

public String getSettingLanguage();

获取设置语言语言码。

Returns

Type

Description

String

设置语言语言码,采用3位语言码标准,如"ENG","CHL"。

[h2]getLocalRoadName

Method

public String getLocalRoadName();

获取本地语言对应的道路名。

Returns

Type

Description

String

本地语言对应的道路名。

[h2]getLocalLanguage

Method

public String getLocalLanguage()

获取本地语言语言码。

Returns

Type

Description

String

本地语言语言码,采用3位语言码标准,如"ENG","CHL"。

[h2]getStartPntIdx

Method

public int getStartPntIdx();

获取起点在形点中的索引。

Returns

Type

Description

int

起点在形点中的索引。

[h2]getStartLinkIdx

Method

public int getStartLinkIdx();

获取同路名段第一个link的索引。

Returns

Type

Description

int

同路名段第一个link的索引。

[h2]getEndLinkIdx

Method

public int getEndLinkIdx()

获取相同路名段最后一个link的索引。

Returns

Type

Description

int

相同路名段最后一个link的索引。

[h2]getPnts

Method

public List<NaviLatLng> getPnts();

获取对应段的形点。

Returns

Type

Description

List<NaviLatLng>

对应段的形点集合。

[h2]getEndPntIdx

Method

public int getEndPntIdx()

获取终点在形点中的索引。

Returns

Type

Description

int

终点在形点中的索引。

[h2]append

Method

public void append(List<NaviLatLng> points);

添加形点集合的方法。

Parameters

Name

Description

points

形点集合。

[h2]toString

Method

public String toString();

对象信息的字符串展示。

Returns

Type

Description

String

MapRoadName对象信息的字符串展示。