Package org.geotools.mbstyle.expression
Class MBHeatmap
Object
ExpressionAbstract
FunctionImpl
MBExpression
MBHeatmap
- All Implemented Interfaces:
Expression,Function
-
Field Summary
Fields inherited from class MBExpression
colors, decisions, featureData, ff, heatMap, json, lookUp, math, name, parse, ramps, string, transformer, types, variableBindings, zoomFields inherited from class FunctionImpl
functionNameFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetermines which expression to use.Gets the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel.Methods inherited from class MBExpression
canCreate, create, getName, throwInsufficientArgumentCount, throwUnexpectedArgumentCount, transformExpression, transformLiteralMethods inherited from class FunctionImpl
accept, dispatchArguments, equals, evaluate, functionName, getFallbackValue, getFunctionName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toStringMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Constructor Details
-
MBHeatmap
public MBHeatmap(JSONArray json)
-
-
Method Details
-
heatmapDensity
Gets the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel. Can only be used in the heatmap-color property. Example: ["heatmap-density"]: number- Returns:
- heat map density expression
-
getExpression
Description copied from class:MBExpressionDetermines which expression to use.- Specified by:
getExpressionin classMBExpression- Throws:
MBFormatException
-