Skip to content

Documentation / @geoverse/react / FeatureListProps

Interface: FeatureListProps

Defined in: react/src/components/attributes.tsx:237

Properties

ids?

ts
optional ids?: string[];

Defined in: react/src/components/attributes.tsx:240

仅显示这些 id(缺省=过滤命中集,无过滤时为全部要素)。


labelOf?

ts
optional labelOf?: (id, properties) => string;

Defined in: react/src/components/attributes.tsx:244

列表项展示文本,缺省取 properties.name ?? id。

Parameters

id

string

properties

Record<string, unknown>

Returns

string


locator?

ts
optional locator?: FeatureLocator;

Defined in: react/src/components/attributes.tsx:242

适配器(点击项时 fit 视野)。


onPick?

ts
optional onPick?: (id) => void;

Defined in: react/src/components/attributes.tsx:245

Parameters

id

string

Returns

void


session

ts
session: EditSession;

Defined in: react/src/components/attributes.tsx:238