001 package com.google.gwt.maps.client.layers;
002
003 import com.google.gwt.core.client.JavaScriptObject;
004
005 /**
006 * Specifies the appearance for a FusionTablesLayer when rendered as a heatmap.
007 * <br><br>
008 * See <a href="https://developers.google.com/maps/documentation/javascript/reference#FusionTablesHeatmap">FusionTablesHeatmap API Doc</a>
009 */
010 public class FusionTableHeatmap extends JavaScriptObject {
011
012 /**
013 * use newInstance();
014 */
015 protected FusionTableHeatmap() {}
016
017 /**
018 * Specifies the appearance for a FusionTablesLayer when rendered as a heatmap.
019 */
020 public static final FusionTableHeatmap newInstance() {
021 return JavaScriptObject.createObject().cast();
022 }
023
024 /**
025 * sets If true, render the layer as a heatmap.
026 * @param enabled
027 */
028 public final native void setEnabled(boolean enabled) /*-{
029 this.enabled = enabled;
030 }-*/;
031
032 /**
033 * gets If true, render the layer as a heatmap.
034 */
035 public final native boolean getEnabled() /*-{
036 return this.enabled;
037 }-*/;
038
039 }