Follow us on GitHub

com.google.gwt.maps.client.layers
Class TransitLayer

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.mvc.MVCObject<TransitLayer>
          extended by com.google.gwt.maps.client.layers.TransitLayer

public class TransitLayer
extends MVCObject<TransitLayer>

A transit layer. This class extends MVCObject.

See TransitLayer API Doc


Constructor Summary
protected TransitLayer()
          use newInstance();
 
Method Summary
 MapWidget getMap()
          Get the map on which the layer is being rendered.
static TransitLayer newInstance()
          creates a traffic layer
 void setMap(MapWidget mapWidget)
          Renders the layer on the specified map.
 
Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
 
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

TransitLayer

protected TransitLayer()
use newInstance();

Method Detail

newInstance

public static final TransitLayer newInstance()
creates a traffic layer


setMap

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

Parameters:
mapWidget -

getMap

public final MapWidget getMap()
Get the map on which the layer is being rendered.



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.