com.google.maps.gwt.client
Class DirectionsRendererOptions

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.DirectionsRendererOptions

public class DirectionsRendererOptions
extends JavaScriptObject

This object defines the properties that can be set on a DirectionsRenderer object. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected DirectionsRendererOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static DirectionsRendererOptions create()
           
 void setDirections(DirectionsResult directions)
          The directions to display on the map and/or in a <div> panel, retrieved as a DirectionsResult object from DirectionsService .
 void setDraggable(boolean draggable)
          If true, allows the user to drag and modify the paths of routes rendered by this DirectionsRenderer .
 void setHideRouteList(boolean hideRouteList)
          This property indicates whether the renderer should provide UI to select amongst alternative routes.
 void setInfoWindow(InfoWindow infoWindow)
          The InfoWindow in which to render text information when a marker is clicked.
 void setMap(GoogleMap map)
          Map on which to display the directions.
 void setMarkerOptions(MarkerOptions markerOptions)
          Options for the markers.
 void setPanel(Node panel)
          The <div> in which to display the directions steps.
 void setPolylineOptions(PolylineOptions polylineOptions)
          Options for the polylines.
 void setPreserveViewport(boolean preserveViewport)
          By default, the input map is centered and zoomed to the bounding box of this set of directions.
 void setRouteIndex(double routeIndex)
          The index of the route within the DirectionsResult object.
 void setSuppressBicyclingLayer(boolean suppressBicyclingLayer)
          Suppress the rendering of the BicyclingLayer when bicycling directions are requested.
 void setSuppressInfoWindows(boolean suppressInfoWindows)
          Suppress the rendering of info windows.
 void setSuppressMarkers(boolean suppressMarkers)
          Suppress the rendering of markers.
 void setSuppressPolylines(boolean suppressPolylines)
          Suppress the rendering of polylines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectionsRendererOptions

protected DirectionsRendererOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final DirectionsRendererOptions create()

setDirections

public final void setDirections(DirectionsResult directions)
The directions to display on the map and/or in a <div> panel, retrieved as a DirectionsResult object from DirectionsService .


setDraggable

public final void setDraggable(boolean draggable)
If true, allows the user to drag and modify the paths of routes rendered by this DirectionsRenderer .


setHideRouteList

public final void setHideRouteList(boolean hideRouteList)
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 .


setInfoWindow

public final void setInfoWindow(InfoWindow infoWindow)
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.


setMap

public final void setMap(GoogleMap map)
Map on which to display the directions.


setMarkerOptions

public final void setMarkerOptions(MarkerOptions markerOptions)
Options for the markers. All markers rendered by the DirectionsRenderer will use these options.


setPanel

public final void setPanel(Node panel)
The <div> in which to display the directions steps.


setPolylineOptions

public final void setPolylineOptions(PolylineOptions polylineOptions)
Options for the polylines. All polylines rendered by the DirectionsRenderer will use these options.


setPreserveViewport

public final void setPreserveViewport(boolean preserveViewport)
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.


setRouteIndex

public final void setRouteIndex(double routeIndex)
The index of the route within the DirectionsResult object. The default value is 0.


setSuppressBicyclingLayer

public final void setSuppressBicyclingLayer(boolean suppressBicyclingLayer)
Suppress the rendering of the BicyclingLayer when bicycling directions are requested.


setSuppressInfoWindows

public final void setSuppressInfoWindows(boolean suppressInfoWindows)
Suppress the rendering of info windows.


setSuppressMarkers

public final void setSuppressMarkers(boolean suppressMarkers)
Suppress the rendering of markers.


setSuppressPolylines

public final void setSuppressPolylines(boolean suppressPolylines)
Suppress the rendering of polylines.