DynamicEntityLayerHandle
DynamicEntityLayerHandle =
object
Defined in: src/ExpoArcgis.types.ts:992
Imperative handle exposed by <DynamicEntityLayer> via ref.
Methods
Section titled “Methods”pushObservation()
Section titled “pushObservation()”pushObservation(
attributes,geometry):void
Defined in: src/ExpoArcgis.types.ts:1001
Pushes an observation into a customSource (attributes + geometry).
Parameters
Section titled “Parameters”attributes
Section titled “attributes”Record<string, unknown>
geometry
Section titled “geometry”Returns
Section titled “Returns”void
queryDynamicEntities()
Section titled “queryDynamicEntities()”queryDynamicEntities():
Promise<{count:number;entities:DynamicEntityInfo[]; }>
Defined in: src/ExpoArcgis.types.ts:994
Returns the data source’s currently-tracked dynamic entities.
Returns
Section titled “Returns”Promise<{ count: number; entities: DynamicEntityInfo[]; }>
queryObservations()
Section titled “queryObservations()”queryObservations(
entityId,max?):Promise<DynamicEntityObservationInfo[]>
Defined in: src/ExpoArcgis.types.ts:999
Returns the observation history for the entity with the given track id, newest first,
capped at max entries (default 100). Returns an empty array if the entity is not found.
Parameters
Section titled “Parameters”entityId
Section titled “entityId”string
number
Returns
Section titled “Returns”Promise<DynamicEntityObservationInfo[]>