|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.DirectionsRendererOptions
public class DirectionsRendererOptions
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 |
---|
protected DirectionsRendererOptions()
Method Detail |
---|
public static final DirectionsRendererOptions create()
public final void setDirections(DirectionsResult directions)
<div>
panel, retrieved as a
DirectionsResult
object from
DirectionsService
.
public final void setDraggable(boolean draggable)
DirectionsRenderer
.
public final void setHideRouteList(boolean hideRouteList)
hideRouteList
to
true
.
public final void setInfoWindow(InfoWindow infoWindow)
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.
public final void setMap(GoogleMap map)
public final void setMarkerOptions(MarkerOptions markerOptions)
DirectionsRenderer
will use these options.
public final void setPanel(Node panel)
<div>
in which to display the directions steps.
public final void setPolylineOptions(PolylineOptions polylineOptions)
DirectionsRenderer
will use these options.
public final void setPreserveViewport(boolean preserveViewport)
true
, the viewport is left unchanged, unless the map's center and zoom were never set.
public final void setRouteIndex(double routeIndex)
DirectionsResult
object. The default value is 0.
public final void setSuppressBicyclingLayer(boolean suppressBicyclingLayer)
BicyclingLayer
when bicycling directions are requested.
public final void setSuppressInfoWindows(boolean suppressInfoWindows)
public final void setSuppressMarkers(boolean suppressMarkers)
public final void setSuppressPolylines(boolean suppressPolylines)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |