API REFERENCE

selectFeatureAt

An asynchronous method. Check the argument and return types below.

Definition

typescript
selectFeatureAt(index: number): Promise<GeoMapFeatureHitDetail | null>
ArgumentsTypeRequired
indexnumberRequired

Return type: Promise<GeoMapFeatureHitDetail | null>. Call the method after element registration and await its Promise result.