Follow us on GitHub

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

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

public class FusionTablesLayer
extends MVCObject<FusionTablesLayer>

A FusionTablesLayer allows you to display data from a Google Fusion Table on a map, as a rendered layer. (See Fusion Table site). Table data can be queried using the same query language as is used in the Fusion Tables API. This class extends MVCObject.

See FusionTablesLayer API Doc


Constructor Summary
protected FusionTablesLayer()
          use newInstance();
 
Method Summary
 HandlerRegistration addClickHandler(FusionTablesMouseMapHandler handler)
          This event is fired when a feature in the layer is clicked.
 MapWidget getMap()
          Returns the map on which this layer is displayed.
static FusionTablesLayer newInstance(FusionTablesLayerOptions options)
          A layer that displays data from a Fusion Table.
 void setMap(MapWidget mapWidget)
          Renders the layer on the specified map.
 void setOptions(FusionTablesLayerOptions options)
          set Options
 
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

FusionTablesLayer

protected FusionTablesLayer()
use newInstance();

Method Detail

newInstance

public static final FusionTablesLayer newInstance(FusionTablesLayerOptions options)
A layer that displays data from a Fusion Table.

Parameters:
options -

setMap

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

Parameters:
mapWidget -

getMap

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


setOptions

public final void setOptions(FusionTablesLayerOptions options)
set Options

Parameters:
options -

addClickHandler

public final HandlerRegistration addClickHandler(FusionTablesMouseMapHandler handler)
This event is fired when a feature in the layer is clicked.

Parameters:
handler -


Follow us on GitHub

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