目录

MapNaviStep

Class Info

public class MapNaviStep

MapNaviStep information class.

Public Method Summary

Qualifier and Type

Method Name and Description

int

getAssiType()

Obtains the assistance information from the current navigation step to the next navigation step.

MapNaviStepDetail

getDetail()

Obtains the maneuver point details.

int

getEndIndex()

Obtains the end point index of the navigation step.

int

getLength()

Obtains the length of the combined navigation step.

double

getLengthToStartPoint()

Obtains the distance from the maneuver point to the start point.

List<MapNaviLink>

getLinks()

Obtains a list of links of the navigation step.

int

getManeuverType()

Obtains the maneuver point information of the current navigation step.

int

getRoundaboutExitNo()

Obtains the number of the roundabout exit.

int

getStartIndex()

Obtains the start point index of the navigation step.

String

getStepDetailString(SupportedUnit targetUnit)

Obtains the distance text of the current step.

NaviLatLng

getTurnPoint()

Obtains the last turning point on the navigation step.

int

getTurnType()

Obtains the turning information from the current navigation step to the next navigation step.

Public Methods

[h2]getAssiType

Method

public int getAssiType()

Obtains the assistance information from the current navigation step to the next navigation step.

Returns

Type

Description

int

Assistance information from the current navigation step to the next navigation step.

[h2]getDetail

Method

public MapNaviStepDetail getDetail()

Obtains the maneuver point details.

Returns

Type

Description

MapNaviStepDetail

Maneuver point details.

[h2]getEndIndex

Method

public int getEndIndex()

Obtains the end point index of the navigation step.

Returns

Type

Description

int

End point index of the navigation step.

[h2]getLength

Method

public int getLength()

Obtains the length of the combined navigation step. The length equals the sum of lengths of all inner links.

Returns

Type

Description

int

Length of the combined navigation step, in meters.

[h2]getLengthToStartPoint

Method

public double getLengthToStartPoint()

Obtains the distance from the maneuver point to the start point.

Returns

Type

Description

double

Distance from the maneuver point to the start point, in meters.

[h2]getLinks

Method

public List<MapNaviLink> getLinks()

Obtains a list of links of the navigation step.

Returns

Type

Description

List<MapNaviLink>

A list of links of the navigation step.

[h2]getManeuverType

Method

public int getManeuverType()

Obtains the maneuver point information of the current navigation step.

Returns

Type

Description

int

Maneuver point information of the current navigation step.

[h2]getRoundaboutExitNo

Method

public int getRoundaboutExitNo()

Obtains the number of the roundabout exit.

Returns

Type

Description

int

Number of the roundabout exit.

[h2]getStartIndex

Method

public int getStartIndex()

Obtains the start point index of the navigation step.

Returns

Type

Description

int

Start point index of the navigation step.

[h2]getStepDetailString

Method

public String getStepDetailString(SupportedUnit targetUnit)

Obtains the distance text of the current step.

Parameters

Name

Description

targetUnit

Measurement unit for the distance text.

Returns

Type

Description

String

Distance text (distance + unit) of the current step.

[h2]getTurnPoint

Method

public NaviLatLng getTurnPoint()

Obtains the last turning point on the navigation step.

Returns

Type

Description

NaviLatLng

Last turning point on the navigation step.

[h2]getTurnType

Method

public int getTurnType()

Obtains the turning information from the current navigation step to the next navigation step.

Returns

Type

Description

int

Turning information from the current navigation step to the next navigation step. For details, please refer to TurnType.