public class HeatMapLayer extends MVCObject<HeatMapLayer>
Modifier | Constructor and Description |
---|---|
protected |
HeatMapLayer()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
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.
|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
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()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.