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.
Type Declaration
Section titled “Type Declaration”customSource?
Section titled “customSource?”
optionalcustomSource?:CustomDynamicSource
Alternative to streamServiceUrl: a custom data source you feed via the ref’s pushObservation.
filter?
Section titled “filter?”
optionalfilter?:object
Stream-service filter — only entities matching whereClause (and/or within geometry) stream in.
filter.geometry?
Section titled “filter.geometry?”
optionalgeometry?:Geometry
filter.whereClause?
Section titled “filter.whereClause?”
optionalwhereClause?:string
onConnectionStatusChange?
Section titled “onConnectionStatusChange?”
optionalonConnectionStatusChange?: (status) =>void
Fired as the data source connects / disconnects.
Parameters
Section titled “Parameters”status
Section titled “status”Returns
Section titled “Returns”void
onDynamicEntityChange?
Section titled “onDynamicEntityChange?”
optionalonDynamicEntityChange?: (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.
Parameters
Section titled “Parameters”nativeEvent
Section titled “nativeEvent”Returns
Section titled “Returns”void
purgeOptions?
Section titled “purgeOptions?”
optionalpurgeOptions?: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.
streamServiceUrl?
Section titled “streamServiceUrl?”
optionalstreamServiceUrl?:string
Stream service URL (a real-time WebSocket feed of moving entities).
trackDisplay?
Section titled “trackDisplay?”
optionaltrackDisplay?:TrackDisplay
Track display (history of past observations).