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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
Relevant samples
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.7 - 200.5 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.5 |