Skip to content
GuidesToolkitAPI

DynamicEntityLayerHandle

DynamicEntityLayerHandle = object

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:1504

Imperative handle exposed by <DynamicEntityLayer> via ref.

pushObservation(attributes, geometry): void

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:1513

Pushes an observation into a customSource (attributes + geometry).

Record<string, unknown>

Geometry

void


queryDynamicEntities(): Promise<{ count: number; entities: DynamicEntityInfo[]; }>

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:1506

Returns the data source’s currently-tracked dynamic entities.

Promise<{ count: number; entities: DynamicEntityInfo[]; }>


queryObservations(entityId, max?): Promise<DynamicEntityObservationInfo[]>

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:1511

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.

string

number

Promise<DynamicEntityObservationInfo[]>