API REFERENCE

setFeatures

Geo Map: atomically validate and replace the polygon layer.

Definition

typescript
setFeatures(features?: GeoMapFeatureCollection): Promise<void>
ArgumentsTypeRequired
featuresGeoMapFeatureCollectionOptional

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