Skip to main content

@mapgear/geoapps > LayerItem > GetFeatureById

LayerItem.GetFeatureById() method

Retrieve the features specified by the filter in the parameter

Signature:
GetFeatureById(id: string): Promise<I.Feature>;

Parameters

ParameterTypeDescription
idstringFeature Id
Returns:

Promise<I.Feature>

Feature that's found by feature id