|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.mvc.MVCObject<HeatMapLayer>
com.google.gwt.maps.client.visualizationlib.HeatMapLayer
public class HeatMapLayer
A layer showing a heatmap of the provided points. Extends the MVCObject.
See HeatMapLayer API
Doc
| Constructor Summary | |
|---|---|
protected |
HeatMapLayer()
use newInstance(); |
| Method Summary | |
|---|---|
MVCArray<LatLng> |
getData()
Returns the data points currently displayed by this heatmap. |
MVCArray<WeightedLocation> |
getDataWeighted()
Returns the data points currently displayed by this heatmap. |
MapWidget |
getMap()
Gets map layer is rendered to, or NULL if not associated with map. |
static HeatMapLayer |
newInstance(HeatMapLayerOptions options)
A layer that provides a client-side rendered heatmap, depicting the intensity of data at geographical points. |
void |
setData(JsArray<LatLng> dataPoints)
Sets the data points to be displayed by this heatmap. NOTE: To clear the map points, set equal to an empty array. |
void |
setData(MVCArray<LatLng> dataPoints)
Sets the data points to be displayed by this heatmap. NOTE: To clear the map points, set equal to an empty array. |
void |
setDataWeighted(JsArray<WeightedLocation> dataPoints)
Sets the data points to be displayed by this heatmap. NOTE: To clear the map points, set equal to an empty array. |
void |
setDataWeighted(MVCArray<WeightedLocation> dataPoints)
Sets the data points to be displayed by this heatmap. NOTE: To clear the map points, set equal to an empty array. |
void |
setMap(MapWidget mapWidget)
Renders the heatmap 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 |
|---|
protected HeatMapLayer()
| Method Detail |
|---|
public static final HeatMapLayer newInstance(HeatMapLayerOptions options)
options - HeatMapLayerOptions configuration for layer (data, rendering options)
public final void setMap(MapWidget mapWidget)
mapWidget - public final MapWidget getMap()
public final void setDataWeighted(JsArray<WeightedLocation> dataPoints)
dataPoints - public final void setDataWeighted(MVCArray<WeightedLocation> dataPoints)
dataPoints - public final void setData(JsArray<LatLng> dataPoints)
dataPoints - public final void setData(MVCArray<LatLng> dataPoints)
dataPoints - public final MVCArray<LatLng> getData()
public final MVCArray<WeightedLocation> getDataWeighted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||