目录

MapNaviTurnPoint.Builder

Class Info

public static class Builder

Navigation turning point information generator.

Public Constructor Summary

Constructor Name

Builder()

Parameterless constructor for creating a Builder instance.

Public Method Summary

Qualifier and Type

Method Name and Description

MapNaviTurnPoint

build()

Creates a NavInfo enlarged map model.

MapNaviTurnPoint.Builder

set4KBubbles(List<TurnPointBubbleInfo> bubbles)

Sets 4K navigation maneuver point bubbles.

MapNaviTurnPoint.Builder

setBegIndex(int arrowBegIndex)

Sets the start point index of the white highlight arrow of the turning point.

MapNaviTurnPoint.Builder

setEndIndex(int arrowEndIndex)

Sets the end point index of the white highlight arrow of the turning point.

MapNaviTurnPoint.Builder

setIconId(String iconId)

Sets the turning icon.

MapNaviTurnPoint.Builder

setManeuverType(ManeuverType maneuverType)

Sets the maneuver point type.

MapNaviTurnPoint.Builder

setRoundaboutExitNo(int roundaboutExitNo)

Sets the number of the roundabout exit.

MapNaviTurnPoint.Builder

setTurnPointPos(NaviLatLng turnPointPos)

Sets the longitude and latitude of the turning point.

Public Constructors

[h2]Builder

Constructor

public Builder()

Parameterless constructor for creating a Builder instance.

Public Methods

[h2]build

Method

public MapNaviTurnPoint build()

Creates a navigation turning point object.

Returns

Type

Description

MapNaviTurnPoint

Navigation turning point object.

[h2]set4KBubbles

Method

public MapNaviTurnPoint.Builder set4KBubbles(List<TurnPointBubbleInfo> bubbles)

Sets 4K navigation maneuver point bubbles.

Parameters

Name

Description

bubbles

4K navigation maneuver point bubbles. For details, please refer to TurnPointBubbleInfo.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.

[h2]setBegIndex

Method

public MapNaviTurnPoint.Builder setBegIndex(int arrowBegIndex)

Sets the start point index of the white highlight arrow of the turning point.

Parameters

Name

Description

arrowBegIndex

Start point index of the white highlight arrow of the turning point.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.

[h2]setEndIndex

Method

public MapNaviTurnPoint.Builder setEndIndex(int arrowEndIndex)

Sets the end point index of the white highlight arrow of the turning point.

Parameters

Name

Description

arrowEndIndex

End point index of the white highlight arrow of the turning point.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.

[h2]setIconId

Method

public MapNaviTurnPoint.Builder setIconId(String iconId)

Sets the turning icon.

Parameters

Name

Description

iconId

Turning icon.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.

[h2]setManeuverType

Method

public MapNaviTurnPoint.Builder setManeuverType(ManeuverType maneuverType)

Sets the maneuver point type.

Parameters

Name

Description

maneuverType

Maneuver point type. For details, please refer to ManeuverType.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.

[h2]setRoundaboutExitNo

Method

public MapNaviTurnPoint.Builder setRoundaboutExitNo(int roundaboutExitNo)

Sets the number of the roundabout exit.

Parameters

Name

Description

roundaboutExitNo

Number of the roundabout exit.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.

[h2]setTurnPointPos

Method

public MapNaviTurnPoint.Builder setTurnPointPos(NaviLatLng turnPointPos)

Sets the longitude and latitude of the turning point.

Parameters

Name

Description

turnPointPos

Longitude and latitude of the turning point. For details, please refer to NaviLatLng.

Returns

Type

Description

MapNaviTurnPoint.Builder

Builder object.