Skip to content

DynamicEntityLayer

const DynamicEntityLayer: ForwardRefExoticComponent<LayerProps & object & RefAttributes<DynamicEntityLayerHandle>>

Defined in: src/DynamicEntityLayer.tsx:22

Declarative real-time DynamicEntityLayer. Adds itself to the nearest <Map> / <Scene>, shows live moving entities from a streamServiceUrl (or a customSource you feed via the ref), reports connection state through onConnectionStatusChange, and exposes queryDynamicEntities / queryObservations / pushObservation through a ref.