目录

MapInsideRoad

Class Info

public class MapInsideRoad

内部路信息类。

Public Constructor Summary

Constructor Name

MapInsideRoad()

无参构造方法创建MapInsideRoad实例。

MapInsideRoad(MapInsideRoad insideRoad)

根据内部路对象创建MapInsideRoad实例。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getEndLinkIdx()

获取终点所在link的索引。

int

getEndPntIdx()

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

int

getInsideRoadCode()

获取道路内部路属性。

List<NaviLatLng>

getPnts()

获取对应段的行点。

int

getStartLinkIdx()

获取起点所在link的索引。

int

getStartPntIdx()

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

String

toString()

获取内部路信息字符串。

Public Constructors

[h2]MapInsideRoad

Constructor

public MapInsideRoad()

无参构造方法创建MapInsideRoad实例。

[h2]MapInsideRoad(MapInsideRoad insideRoad)

Constructor

public MapInsideRoad(MapInsideRoad insideRoad)

根据内部路对象创建MapInsideRoad实例。

Parameters

Name

Description

insideRoad

内部路信息模型。

Public Methods

[h2]getEndLinkIdx

Method

public int getEndLinkIdx()

您可以通过此API获取终点所在link的索引。

Returns

Type

Description

int

终点所在link的索引。

[h2]getEndPntIdx

Method

public int getEndPntIdx()

您可以通过此API获取终点在行点中的索引。

Returns

Type

Description

int

终点在行点中的索引。

[h2]getInsideRoadCode

Method

public int getInsideRoadCode()

您可以通过此API获取道路内部路属性。

Returns

Type

Description

int

道路内部路属性

  • 0:非内部路
  • 1:内部路

[h2]getPnts

Method

public List<NaviLatLng> getPnts()

您可以通过此API获取对应段的行点。

Returns

Type

Description

List<NaviLatLng>

对应段的行点。

[h2]getStartLinkIdx

Method

public int getStartLinkIdx()

您可以通过此API获取起点所在link的索引。

Returns

Type

Description

int

起点所在link的索引。

[h2]getStartPntIdx

Method

public int getStartPntIdx()

您可以通过此API获取起点在行点中的索引。

Returns

Type

Description

int

起点在行点中的索引。

[h2]toString

Method

public String toString()

您可以通过此API获取内部路信息字符串。

Returns

Type

Description

String

内部路信息字符串。