Skip to content

Documentation / @geoverse/editor-core / queryFeatures

Function: queryFeatures()

ts
function queryFeatures(features, predicate): string[];

Defined in: packages/editor-core/src/filter/index.ts:76

在要素集合上求值,返回命中要素的 id。

Parameters

features

EditableFeature[]

predicate

AttributePredicate

Returns

string[]