|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.services.DirectionsRendererOptions
public class DirectionsRendererOptions
This object defines the properties that can be set on a DirectionsRenderer object.
See DirectionsRendererOptions API Doc
Constructor Summary | |
---|---|
protected |
DirectionsRendererOptions()
use newInstance(); |
Method Summary | |
---|---|
DirectionsResult |
getDirections()
The directions to display on the map and/or in a <div> panel, retrieved as a DirectionsResult object from DirectionsService. |
boolean |
getDraggable()
If true, allows the user to drag and modify the paths of routes rendered by this DirectionsRenderer. |
boolean |
getHideRouteList()
This property indicates whether the renderer should provide UI to select amongst alternative routes. |
InfoWindow |
getInfoWindow()
The InfoWindow in which to render text information when a marker is clicked. |
MapWidget |
getMapWidget()
Map on which to display the directions. |
MarkerOptions |
getMarkerOptions()
Options for the markers. |
Element |
getPanel()
The <div> in which to display the directions steps. |
PolylineOptions |
getPolylineOptions()
Options for the polylines. |
boolean |
getPreserveViewport()
By default, the input map is centered and zoomed to the bounding box of this set of directions. |
int |
getRouteIndex()
The index of the route within the DirectionsResult object. |
boolean |
getSuppressBicyclingLayer()
Suppress the rendering of the BicyclingLayer when bicycling directions are requested. |
boolean |
getSuppressInfoWindows()
Suppress the rendering of info windows. |
boolean |
getSuppressMarkers()
Suppress the rendering of markers. |
boolean |
getSuppressPolylines()
Suppress the rendering of polylines. |
static DirectionsRendererOptions |
newInstance()
This object defines the properties that can be set on a DirectionsRenderer object. |
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(MapWidget mapWidget)
Map on which to display the directions. |
void |
setMarkerOptions(MarkerOptions markerOptions)
Options for the markers. |
void |
setPanel(Element 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(int 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 com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected DirectionsRendererOptions()
Method Detail |
---|
public static final DirectionsRendererOptions newInstance()
public final void setDirections(DirectionsResult directions)
<div>
panel, retrieved as a DirectionsResult object from DirectionsService.
directions
- public final DirectionsResult getDirections()
<div>
panel, retrieved as a DirectionsResult object from DirectionsService.
public final void setDraggable(boolean draggable)
draggable
- public final boolean getDraggable()
public final void setHideRouteList(boolean hideRouteList)
hideRouteList
- public final boolean getHideRouteList()
public final void setInfoWindow(InfoWindow infoWindow)
infoWindow
- public final InfoWindow getInfoWindow()
public final void setMap(MapWidget mapWidget)
mapWidget
- public final MapWidget getMapWidget()
public final void setMarkerOptions(MarkerOptions markerOptions)
markerOptions
- public final MarkerOptions getMarkerOptions()
public final void setPanel(Element panel)
<div>
in which to display the directions steps.
panel
- public final Element getPanel()
<div>
in which to display the directions steps.
public final void setPolylineOptions(PolylineOptions polylineOptions)
polylineOptions
- public final PolylineOptions getPolylineOptions()
public final void setPreserveViewport(boolean preserveViewport)
preserveViewport
- public final boolean getPreserveViewport()
public final void setRouteIndex(int routeIndex)
routeIndex
- public final int getRouteIndex()
public final void setSuppressBicyclingLayer(boolean suppressBicyclingLayer)
suppressBicyclingLayer
- public final boolean getSuppressBicyclingLayer()
public final void setSuppressInfoWindows(boolean suppressInfoWindows)
suppressInfoWindows
- public final boolean getSuppressInfoWindows()
public final void setSuppressMarkers(boolean suppressMarkers)
suppressMarkers
- public final boolean getSuppressMarkers()
public final void setSuppressPolylines(boolean suppressPolylines)
suppressPolylines
- public final boolean getSuppressPolylines()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |