querySourceFeatures

fun querySourceFeatures(@Size(min = 1) sourceLayerIds: Array<String>, filter: Expression?): List<Feature>

Queries the source for features.

Return

the features

Parameters

sourceLayerIds

the source layer identifiers. At least one must be specified.

filter

an optional filter expression to filter the returned Features