public class HeatMapOptions
extends java.lang.Object
Constructor and Description |
---|
HeatMapOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getBlur() |
java.util.Map<java.lang.Double,java.lang.String> |
getGradient() |
java.lang.Double |
getMaximumIntensity() |
java.lang.Double |
getMaxZoom() |
java.lang.Double |
getMinOpacity() |
java.lang.Integer |
getRadius() |
HeatMapOptions |
setBlur(java.lang.Double blur)
Sets the amount of blur in a point.
|
HeatMapOptions |
setGradient(java.util.Map<java.lang.Double,java.lang.String> gradient)
Sets the color gradient config.
|
HeatMapOptions |
setMaximumIntensity(java.lang.Double maximumIntensity)
Sets the maximum point intensity.
|
HeatMapOptions |
setMaxZoom(java.lang.Double maxZoom)
Sets the zoom level where the points reach maximum intensity (as intensity scales with zoom).
|
HeatMapOptions |
setMinOpacity(java.lang.Double minOpacity)
Sets the minimum opacity the heat will start at.
|
HeatMapOptions |
setRadius(java.lang.Integer radius)
Sets the radius of each point of a heatmap.
|
public java.lang.Double getMaximumIntensity()
@StudioProperty(defaultValue="1") public HeatMapOptions setMaximumIntensity(java.lang.Double maximumIntensity)
maximumIntensity
- HeatMapOptions
on which this method was called. Useful for a fluent API.public java.lang.Double getBlur()
@StudioProperty(defaultValue="15") public HeatMapOptions setBlur(java.lang.Double blur)
Default value is 15.
blur
- HeatMapOptions
on which this method was called. Useful for a fluent API.public java.lang.Integer getRadius()
@StudioProperty(defaultValue="25") public HeatMapOptions setRadius(java.lang.Integer radius)
Default value is 25.
radius
- HeatMapOptions
on which this method was called. Useful for a fluent API.public java.util.Map<java.lang.Double,java.lang.String> getGradient()
public HeatMapOptions setGradient(java.util.Map<java.lang.Double,java.lang.String> gradient)
Each entry of a map should contain intensity value (from 0 to 1 by default) as a key and a color corresponding to the specified intensity as a value. For example: [0.4: 'blue', 0.65: 'lime', 1: 'red'].
gradient
- HeatMapOptions
on which this method was called. Useful for a fluent API.public java.lang.Double getMinOpacity()
@StudioProperty(defaultValue="0.05") public HeatMapOptions setMinOpacity(java.lang.Double minOpacity)
Default value is 0.05.
minOpacity
- HeatMapOptions
on which this method was called. Useful for a fluent API.public java.lang.Double getMaxZoom()
@StudioProperty(name="maxIntensityZoom") public HeatMapOptions setMaxZoom(java.lang.Double maxZoom)
maxZoom
- HeatMapOptions
on which this method was called. Useful for a fluent API.