Style Expression Inputs
data class StyleExpressionInputs(val zoom: Double? = null, val colorRampParameter: Double? = null, val feature: String = "", val featureState: String = "", val globalState: String = "", val canonicalTileId: CanonicalTileId? = null, val availableImages: List<String> = emptyList())
The inputs that a style expression reads while it evaluates.
See mln_style_expression_inputs in the C API reference.
Properties
Link copied to clipboard
The IDs of the images that image treats as available.
Link copied to clipboard
The tile that holds the feature. within and distance need it to read the feature's geometry.
Link copied to clipboard
The value of heatmap-density, line-progress, and elevation.
Link copied to clipboard
The feature's state, as a JSON object, or empty for none.
Link copied to clipboard
The values that global-state reads, as a JSON object, or empty for none.