com.google.gwt.maps.client.overlay
Class TrafficOverlayOptions
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.overlay.TrafficOverlayOptions
public class TrafficOverlayOptions
- extends com.google.gwt.core.client.JavaScriptObject
Used as an argument to the constructor for TrafficOverlay
.
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 |
TrafficOverlayOptions
protected TrafficOverlayOptions()
newInstance
public static TrafficOverlayOptions newInstance(boolean incidents)
- Construct a new TrafficOverlayOptions instance.
- Parameters:
incidents
- pass true
to make this traffic overlay show
incidents.
- Returns:
- a new TrafficOverlayOptions instance.
newInstance
public static TrafficOverlayOptions newInstance()
- Returns a new instance of the TrafficOverlayOptions object.
- Returns:
- a new instance of the TrafficOverlayOptions object.
setIncidents
public final void setIncidents(boolean incidents)
- When set to
true
, indicates that the TrafficOverlay should
display traffic incidents on the map, where applicable.
- Parameters:
incidents
- true
to make this traffic overlay show
incidents.