目录

MapNaviStep

Class Info

public class MapNaviStep

MapNaviStep信息类。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getAssiType()

获取当前路段到下一路段的辅助信息。

MapNaviStepDetail

getDetail()

获取机动点详情信息。

int

getEndIndex()

获取该路段终点index。

int

getLength()

获取该合并路段的长度。

double

getLengthToStartPoint()

获取机动点到起点的距离。

List<MapNaviLink>

getLinks()

获取该路段Link集。

int

getManeuverType()

获取当前路段机动点信息。

int

getRoundaboutExitNo()

获取环岛退出口编号。

int

getStartIndex()

获取该路段起点index。

String

getStepDetailString(SupportedUnit targetUnit)

返回当前step的距离文本。

NaviLatLng

getTurnPoint()

获取该路段最后一个转弯行点。

int

getTurnType()

获取当前路段到下一路段的转向信息。

Public Methods

[h2]getAssiType

Method

public int getAssiType()

您调用此API可以获取当前路段到下一路段的辅助信息。

Returns

Type

Description

int

当前路段到下一路段的辅助信息。

[h2]getDetail

Method

public MapNaviStepDetail getDetail()

您调用此API可以获取机动点详情信息。

Returns

Type

Description

MapNaviStepDetail

当前路段到下一路段的转向信息。

[h2]getEndIndex

Method

public int getEndIndex()

您调用此API可以获取该路段终点index。

Returns

Type

Description

int

该路段终点index。

[h2]getLength

Method

public int getLength()

您调用此API可以获取该合并路段的长度,长度由每条内部link的长度的和组成。

Returns

Type

Description

int

该合并路段的长度,单位:米。

[h2]getLengthToStartPoint

Method

public double getLengthToStartPoint()

您调用此API可以获取机动点到起点的距离。

Returns

Type

Description

double

机动点到起点的距离,单位:米。

[h2]getLinks

Method

public List<MapNaviLink> getLinks()

您调用此API可以获取该路段Link集。

Returns

Type

Description

List<MapNaviLink>

该路段Link集。

[h2]getManeuverType

Method

public int getManeuverType()

您调用此API可以获取当前路段机动点信息。

Returns

Type

Description

int

当前路段机动点信息。

[h2]getRoundaboutExitNo

Method

public int getRoundaboutExitNo()

您调用此API可以获取环岛退出口编号。

Returns

Type

Description

int

环岛退出口编号。

[h2]getStartIndex

Method

public int getStartIndex()

您调用此API可以获取该路段起点index。

Returns

Type

Description

int

该路段起点index。

[h2]getStepDetailString

Method

public String getStepDetailString(SupportedUnit targetUnit)

您调用此API可以获取当前Step的距离文本。

Parameters

Name

Description

targetUnit

输出的距离文本使用的单位制式。

Returns

Type

Description

String

当前Step的距离文本(距离 + 单位)。

[h2]getTurnPoint

Method

public NaviLatLng getTurnPoint()

您调用此API可以获取该路段最后一个转弯行点。

Returns

Type

Description

NaviLatLng

该路段最后一个转弯行点。

[h2]getTurnType

Method

public int getTurnType()

您调用此API可以获取当前路段到下一路段的转向信息。

Returns

Type

Description

int

当前路段到下一路段的转向信息,参见TurnType。