@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
Parameter | Type | Description |
---|---|---|
id | string | Feature Id |
Promise<I.Feature>
Feature that's found by feature id