Skip to content

DynamicEntityLayerProps

DynamicEntityLayerProps = LayerProps & object

Defined in: src/ExpoArcgis.types.ts:955

Props for <DynamicEntityLayer> — real-time moving entities from a stream service or custom feed.

optional customSource?: CustomDynamicSource

Alternative to streamServiceUrl: a custom data source you feed via the ref’s pushObservation.

optional filter?: object

Stream-service filter — only entities matching whereClause (and/or within geometry) stream in.

optional geometry?: Geometry

optional whereClause?: string

optional onConnectionStatusChange?: (status) => void

Fired as the data source connects / disconnects.

ConnectionStatus

void

optional onDynamicEntityChange?: (event) => void

Fired when a dynamic entity is received (new/updated) or purged. High-frequency on busy stream services — only entity lifecycle events are emitted (one per entity arrival or purge), not per-observation attribute updates.

DynamicEntityChange

void

optional purgeOptions?: DynamicEntityPurgeOptions

Bounds the observation history kept in memory by the data source. Set either field to limit how many total observations or how much elapsed time the stream retains across all dynamic entities.

optional streamServiceUrl?: string

Stream service URL (a real-time WebSocket feed of moving entities).

optional trackDisplay?: TrackDisplay

Track display (history of past observations).