public interface HeatMapLayer
Modifier and Type | Method and Description |
---|---|
java.util.List<GeoPoint> |
getData() |
java.lang.Boolean |
getDissipating() |
java.util.List<java.lang.String> |
getGradient() |
java.lang.Double |
getMaxIntensity() |
java.lang.Double |
getOpacity() |
java.lang.Double |
getRadius() |
java.util.List<WeightedLocation> |
getWeightedData() |
void |
setData(java.util.List<GeoPoint> data) |
void |
setDissipating(java.lang.Boolean dissipating)
Sets whether heatmap dissipate on zoom.
|
void |
setGradient(java.util.List<java.lang.String> gradient)
Sets colors to use for depicting intensity of the data.
|
void |
setMaxIntensity(java.lang.Double maxIntensity)
Sets the maximum intensity of the heatmap.
|
void |
setOpacity(java.lang.Double opacity)
Sets heatmap opacity.
|
void |
setRadius(java.lang.Double radius)
Sets the radius of influence for each location.
|
void |
setWeightedData(java.util.List<WeightedLocation> weightedData)
Sets weighted locations to display on the heatmap.
|
java.util.List<GeoPoint> getData()
void setData(java.util.List<GeoPoint> data)
data
- list of geographical points to display on the heatmap. Calling this method is enough to
update already added on the map layer.java.util.List<WeightedLocation> getWeightedData()
void setWeightedData(java.util.List<WeightedLocation> weightedData)
setData(java.util.List)
.
If non-weighted coordinates have been added using setData(java.util.List)
then weighted ones wont be displayed.weightedData
- list of weighted locationsvoid setGradient(java.util.List<java.lang.String> gradient)
gradient
- list of colorsjava.util.List<java.lang.String> getGradient()
java.lang.Double getOpacity()
void setOpacity(java.lang.Double opacity)
opacity
- opacityjava.lang.Double getRadius()
void setRadius(java.lang.Double radius)
radius
- radius in pixelsvoid setMaxIntensity(java.lang.Double maxIntensity)
maxIntensity
- max intensityjava.lang.Double getMaxIntensity()
void setDissipating(java.lang.Boolean dissipating)
dissipating
- dissipatingjava.lang.Boolean getDissipating()