com.google.maps.gwt.client
Class TrafficLayer

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

public class TrafficLayer
extends MVCObject

A traffic layer. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected TrafficLayer()
          Protected constructor avoids default public constructor.
 
Method Summary
static TrafficLayer create()
          A layer that displays current road traffic.
 GoogleMap getMap()
          Returns the map on which this layer is displayed.
 void setMap(GoogleMap map)
          Renders the layer on the specified map.
 
Methods inherited from class com.google.maps.gwt.client.MVCObject
bindTo, bindTo, bindTo, bindTo, changed, get, notify, set, setValues, setValues, unbind, unbindAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrafficLayer

protected TrafficLayer()
Protected constructor avoids default public constructor.

Method Detail

create

public static TrafficLayer create()
A layer that displays current road traffic.


getMap

public final GoogleMap getMap()
Returns the map on which this layer is displayed.


setMap

public final void setMap(GoogleMap map)
Renders the layer on the specified map. If map is set to null, the layer will be removed.