Skip to content
Guides API

KmlLayerHandle

KmlLayerHandle = object

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

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: src/ExpoArcgis.types.ts:1133

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

Promise<KmlNodeInfo[]>


pauseTour(): void

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

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: src/ExpoArcgis.types.ts:1135

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: src/ExpoArcgis.types.ts:1139

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