Defines the options used by the Navigator
for displaying a route to a destination.
Public Constructor Summary
Public Method Summary
boolean |
getHideDestinationMarkers()
Returns a boolean indicating whether destination markers will be hidden.
|
boolean |
getShowStopSigns()
Returns a boolean indicating whether stop signs are shown along the route during navigation.
|
boolean |
getShowTrafficLights()
Returns a boolean indicating whether traffic lights are shown along the route during
navigation.
|
DisplayOptions |
hideDestinationMarkers(boolean hideDestinationMarkers)
Configures whether to hide destination markers when displaying a route.
|
DisplayOptions |
showStopSigns(boolean showStopSigns)
Configures whether to show stop signs along the route during navigation.
|
DisplayOptions |
showTrafficLights(boolean showTrafficLights)
Configures whether to show traffic lights along the route during navigation.
|
Inherited Method Summary
Public Constructors
public DisplayOptions ()
Public Methods
public boolean getHideDestinationMarkers ()
Returns a boolean indicating whether destination markers will be hidden.
Returns
true
if destination markers will be hidden
public boolean getShowStopSigns ()
Returns a boolean indicating whether stop signs are shown along the route during navigation.
Returns
true
if stop signs are shown along the route during navigation.
public boolean getShowTrafficLights ()
Returns a boolean indicating whether traffic lights are shown along the route during navigation.
Returns
true
if traffic lights are shown along the route during navigation.
public DisplayOptions hideDestinationMarkers (boolean hideDestinationMarkers)
Configures whether to hide destination markers when displaying a route.
Parameters
hideDestinationMarkers | If true , destination markers will be hidden. |
---|
Returns
- the object for which the method was called, with the updated marker hiding setting
public DisplayOptions showStopSigns (boolean showStopSigns)
Configures whether to show stop signs along the route during navigation.
Changes to this setting take effect only in subsequent route requests.
Once the setting is applied, the user interface shows the first 3 upcoming traffic lights or stop signs at any time during navigation, provided the data is available.
Parameters
showStopSigns | If true , shows stop signs. |
---|
Returns
- this DisplayOptions object with the updated showStopSigns setting.
public DisplayOptions showTrafficLights (boolean showTrafficLights)
Configures whether to show traffic lights along the route during navigation.
Changes to this setting take effect only in subsequent route requests.
Once the setting is applied, the user interface shows the first 3 upcoming traffic lights or stop signs at any time during navigation, provided the data is available.
Parameters
showTrafficLights | If true , show traffic lights. |
---|
Returns
- this DisplayOptions object with the updated showTrafficLights setting.