Skip to content
GuidesToolkitAPI

BuildingExplorer

BuildingExplorer(props): Element | null

Defined in: packages/expo-arcgis-toolkit/src/BuildingExplorer.tsx:61

The ArcGIS Toolkit’s building explorer, for a <LocalSceneView> with building scene layers: it browses their levels, construction phases and categories, highlights a level (the ones above hide, the ones below turn x-ray), and its “zoom to building” moves the view. A panel: place it inside the <LocalSceneView> and lay it out over the scene, or anywhere else with the view’s ref as geoView.

const view = useRef<LocalSceneViewHandle>(null);
<Scene portalItem={{ itemId: '<local web scene with a building scene layer>' }}>
<LocalSceneView ref={view} style={{ flex: 1 }} />
</Scene>
<BuildingExplorer geoView={view} style={{ height: 360 }} />

BuildingExplorerProps

Element | null

ios — the Kotlin Toolkit has no building explorer; on Android it renders nothing.