Functions
Gets the value of a cluster property accumulated so far. Can only be used in the clusterProperties
option of a clustered GeoJSON source, see dev.sargunv.maplibrecompose.core.source.GeoJsonOptions.
Returns the shortest distance in meters between the evaluated feature and geometry.
Gets the feature's geometry type.
Returns the value corresponding to the given key in the current feature's properties or null
if it is not present.
Tests for the presence of a property value key in the current feature's properties.
Gets the feature's id, if it has one.
Gets the progress along a gradient line. Can only be used in the gradient
property of a line layer, see dev.sargunv.maplibrecompose.compose.layer.LineLayer.
Gets the feature properties object. Note that in some cases, it may be more efficient to use get("property_name")
directly.
Note: Not supported on native platforms. See maplibre-native#1698
Returns true if the evaluated feature is fully contained inside a boundary of the input geometry, false otherwise. The input value can be a valid GeoJSON of type Polygon, MultiPolygon, Feature, or FeatureCollection. Supported features for evaluation: