Show / Hide Table of Contents

Constructor OrbitLocationCameraController

OrbitLocationCameraController(MapPoint, Double)

Initializes a new instance of the OrbitLocationCameraController class from the given point.

Declaration
public OrbitLocationCameraController(MapPoint targetPoint, double distance)
Parameters
Type Name Description
MapPoint targetPoint

The MapPoint for the camera to focus on.

System.Double distance

Distance from the point at which this camera will be placed.

Remarks

The orbit camera controller locks navigation around a target point. When this camera controller is applied, using 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.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
Relevant samples
Choose camera controller: Control the behavior of the camera in a scene.
Feature layer extrusion: Extrude features based on their attributes.

OrbitLocationCameraController(MapPoint, MapPoint)

Initializes a new instance of the OrbitLocationCameraController class from the given target point and camera point.

Declaration
public OrbitLocationCameraController(MapPoint targetPoint, MapPoint cameraPoint)
Parameters
Type Name Description
MapPoint targetPoint

A point which will be the focus of this camera.

MapPoint cameraPoint

A point which is where this camera is located.

Remarks

The orbit camera controller calculates the distance of the camera from the target point and locks navigation around that target point. When this camera controller is applied, using 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.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.7 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.7 - 200.7
Xamarin.Android100.7 - 100.15
Xamarin.iOS100.7 - 100.15
UWP100.7 - 200.7
In This Article
Back to top Copyright © 2022 Esri.