CameraController
CameraController = {
distance:number;target:Point;type:"orbitLocation"; } | {distance:number;type:"orbitGeoElement"; } | {type:"globe"; }
Defined in: src/ExpoArcgis.types.ts:2384
Camera controller for a <SceneView>.
orbitLocation— orbits around a fixed target point (OrbitLocationCameraController).globe— free globe navigation (GlobeCameraController).
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ distance: number; target: Point; type: "orbitLocation"; }
distance
Section titled “distance”distance:
number
Initial camera distance from the target, in meters.
target
Section titled “target”target:
Point
The point the camera orbits around (WGS84 longitude/latitude, optional altitude).
type:
"orbitLocation"
Type Literal
Section titled “Type Literal”{ distance: number; type: "orbitGeoElement"; }
distance
Section titled “distance”distance:
number
Initial camera distance from the target graphic, in meters.
type:
"orbitGeoElement"
Orbit a moving <Graphic> — also pass that graphic’s ref via <SceneView orbitGraphic>.
Type Literal
Section titled “Type Literal”{ type: "globe"; }