Skip to content
GuidesToolkitAPI

WorldScaleSceneView

const WorldScaleSceneView: ForwardRefExoticComponent<ArSceneViewProps & object & object & RefAttributes<SceneViewHandle>>

Defined in: packages/expo-arcgis-toolkit/src/WorldScaleSceneView.tsx:89

The ArcGIS Toolkit’s world-scale AR scene view: the scene lines up with the real world around the device, so data shows where it is, such as pipes under the street. iOS uses ARKit; Android uses ARCore.

It is a <SceneView> shown in augmented reality: place it inside a <Scene>, with overlays as children, and its events and ref work as a scene view’s do. The device’s movement controls the camera.

Needs the camera and the device’s location: the expo-arcgis-toolkit config plugin’s ar option.

<Scene basemapStyle="arcGISImagery">
<WorldScaleSceneView clippingDistance={400}>
<GraphicsOverlay>…</GraphicsOverlay>
</WorldScaleSceneView>
</Scene>