OrbitLocationCameraController.withTargetPositionAndCameraDistance constructor

OrbitLocationCameraController.withTargetPositionAndCameraDistance({
  1. required ArcGISPoint targetLocation,
  2. required double distance,
})

Creates an orbit camera controller object with the given target point and distance from that point.

The orbit camera controller locks navigation around a target point. When this camera controller is applied, using ArcGISSceneViewController.cameraController, navigation interaction always focuses on the target point object. In this mode, the user can rotate around and zoom in and out from the point. Once specified, the target point cannot be changed.

Parameters:

  • targetLocation — The ArcGISPoint for the camera to focus on.
  • distance — Distance from the point at which the camera will be placed.