@mapgear/mapengine > VectorLayer > GetFeatureById
VectorLayer.GetFeatureById() method
Retrieve a feature by its id
Signature:GetFeatureById(id: string): Promise<Feature>;
Parameters
Parameter | Type | Description |
---|---|---|
id | string | The id of the requested feature |
Promise<Feature>