Skip to content

Latest commit

 

History

History
94 lines (48 loc) · 3.41 KB

DirectionsRendererOptions.md

File metadata and controls

94 lines (48 loc) · 3.41 KB

See html formatted version

DirectionsRendererOptions interface

google.maps.DirectionsRendererOptions interface

This object defines the properties that can be set on a DirectionsRenderer object.

Properties

undefined

Type:  DirectionsResult optional

The directions to display on the map and/or in a

panel, retrieved as a DirectionsResult object from DirectionsService.

undefined

Type:  boolean optional

If true, allows the user to drag and modify the paths of routes rendered by this DirectionsRenderer.

undefined

Type:  boolean optional

This property indicates whether the renderer should provide UI to select amongst alternative routes. By default, this flag is false and a user-selectable list of routes will be shown in the directions' associated panel. To hide that list, set hideRouteList to true.

undefined

Type:  InfoWindow optional

The InfoWindow in which to render text information when a marker is clicked. Existing info window content will be overwritten and its position moved. If no info window is specified, the DirectionsRenderer will create and use its own info window. This property will be ignored if suppressInfoWindows is set to true.

undefined

Type:  Map optional

Map on which to display the directions.

undefined

Type:  MarkerOptions optional

Options for the markers. All markers rendered by the DirectionsRenderer will use these options.

undefined

Type:  Node optional

The

in which to display the directions steps.

undefined

Type:  PolylineOptions optional

Options for the polylines. All polylines rendered by the DirectionsRenderer will use these options.

undefined

Type:  boolean optional

By default, the input map is centered and zoomed to the bounding box of this set of directions. If this option is set to true, the viewport is left unchanged, unless the map's center and zoom were never set.

undefined

Type:  number optional

The index of the route within the DirectionsResult object. The default value is 0.

undefined

Type:  boolean optional

Suppress the rendering of the BicyclingLayer when bicycling directions are requested.

undefined

Type:  boolean optional

Suppress the rendering of info windows.

undefined

Type:  boolean optional

Suppress the rendering of markers.

undefined

Type:  boolean optional

Suppress the rendering of polylines.