query Source Features
actual fun querySourceFeatures(sourceLayerIds: Set<String>, predicate: Expression<BooleanValue>): List<Feature>(source)
expect fun querySourceFeatures(sourceLayerIds: Set<String>, predicate: Expression<BooleanValue> = const(true)): List<Feature>(source)
Returns a list of features from the vector source, limited to source layers with the given sourceLayerIds and filtered by the given predicate.
Return
A list of features that match the query, or an empty list if the sourceLayerIds is empty or no features are found.
Parameters
source Layer Ids
A set of source layer IDs to query features from.
predicate
An expression used to filter the features. If not specified, all features from the vector source are returned.
actual fun querySourceFeatures(sourceLayerIds: Set<String>, predicate: Expression<BooleanValue>): List<Feature>(source)
actual fun querySourceFeatures(sourceLayerIds: Set<String>, predicate: Expression<BooleanValue>): List<Feature>(source)