Skip to content
GuidesToolkitAPI

KmlLayerHandle

KmlLayerHandle = object

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

Imperative handle exposed by <KmlLayer> via ref.

Tour playback (playTour / pauseTour / resetTour) is iOS-only. On Android the tour controller cannot drive the camera of the view-based scene view (an ArcGIS Maps SDK limitation — automatic tour playback exists only on the Compose SceneView, and the controller exposes no camera/viewpoint to drive it manually). The methods are present on Android but no-op visually.

getNodes(): Promise<KmlNodeInfo[]>

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

Loads the KML and returns its node tree (recursing into container nodes).

Promise<KmlNodeInfo[]>


pauseTour(): void

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

Pauses playback of the first KML tour found in the layer. No-ops if no tour exists. iOS only (see above).

void


playTour(): void

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

Starts or resumes playback of the first KML tour found in the layer. No-ops if no tour exists. iOS only (see above).

void


resetTour(): void

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

Resets playback of the first KML tour found in the layer to the beginning. No-ops if no tour exists. iOS only (see above).

void