Follow us on GitHub

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

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.layers.FusionTablesLayerOptions

public class FusionTablesLayerOptions
extends JavaScriptObject

This object defines the properties that can be set on a FusionTablesLayer object.

See FusionTablesLayerOptions API Doc


Constructor Summary
protected FusionTablesLayerOptions()
          use newInstance();
 
Method Summary
 boolean getClickable()
          gets If true, the layer receives mouse events.
 FusionTableHeatmap getHeatmap()
          gets Options which define the appearance of the layer as a heatmap.
 MapWidget getMap()
          Returns the map on which this layer is displayed.
 FusionTablesQuery getQuery()
          gets Options defining the data to display.
 JsArray<FusionTablesStyle> getStyles()
          gets An array of up to 5 style specifications, which control the appearance of features within the layer.
 boolean getSuppressInfoWindows()
          gets Suppress the rendering of info windows when layer features are clicked.
static FusionTablesLayerOptions newInstance()
          creates - This object defines the properties that can be set on a FusionTablesLayer object.
 void setClickable(boolean clickable)
          sets If true, the layer receives mouse events.
 void setHeatmap(FusionTableHeatmap heatmap)
          sets Options which define the appearance of the layer as a heatmap.
 void setMap(MapWidget mapWidget)
          Renders the layer on the specified map.
 void setQuery(FusionTablesQuery query)
          sets Options defining the data to display.
 void setStyles(JsArray<FusionTablesStyle> styles)
          sets An array of up to 5 style specifications, which control the appearance of features within the layer.
 void setSuppressInfoWindows(boolean suppressInfoWindows)
          sets Suppress the rendering of info windows when layer features are clicked.
 
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

FusionTablesLayerOptions

protected FusionTablesLayerOptions()
use newInstance();

Method Detail

newInstance

public static final FusionTablesLayerOptions newInstance()
creates - This object defines the properties that can be set on a FusionTablesLayer object.


setClickable

public final void setClickable(boolean clickable)
sets If true, the layer receives mouse events. Default value is true.

Parameters:
clickable -

getClickable

public final boolean getClickable()
gets If true, the layer receives mouse events. Default value is true.


setHeatmap

public final void setHeatmap(FusionTableHeatmap heatmap)
sets Options which define the appearance of the layer as a heatmap.

Parameters:
heatmap -

getHeatmap

public final FusionTableHeatmap getHeatmap()
gets Options which define the appearance of the layer as a heatmap.


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.


setQuery

public final void setQuery(FusionTablesQuery query)
sets Options defining the data to display.

Parameters:
query -

getQuery

public final FusionTablesQuery getQuery()
gets Options defining the data to display.


setStyles

public final void setStyles(JsArray<FusionTablesStyle> styles)
sets An array of up to 5 style specifications, which control the appearance of features within the layer.

Parameters:
styles -

getStyles

public final JsArray<FusionTablesStyle> getStyles()
gets An array of up to 5 style specifications, which control the appearance of features within the layer.


setSuppressInfoWindows

public final void setSuppressInfoWindows(boolean suppressInfoWindows)
sets Suppress the rendering of info windows when layer features are clicked.

Parameters:
suppressInfoWindows -

getSuppressInfoWindows

public final boolean getSuppressInfoWindows()
gets Suppress the rendering of info windows when layer features are clicked.



Follow us on GitHub

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