Page Summary
-
DisplayOptionscustomizes the visual elements displayed during navigation, such as destination markers, stop signs, and traffic lights. -
Developers can configure these options to control the level of detail shown on the route.
-
Methods like
hideDestinationMarkers,showStopSigns, andshowTrafficLightsallow for specific customizations. -
These settings influence the user interface during navigation, providing a tailored experience.
-
Changes to display options generally take effect in subsequent route requests.
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.
|
| DisplayOptions |
hideDestinationMarkers(boolean hideDestinationMarkers)
Configures whether to hide destination markers when displaying a route.
|
Inherited Method Summary
Public Constructors
public DisplayOptions ()
Public Methods
public boolean getHideDestinationMarkers ()
Returns a boolean indicating whether destination markers will be hidden.
Returns
trueif destination markers will be hidden
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