MapControl.ActualCamera Property

Definition

Gets the MapCamera settings that define the current position of the camera.

public:
 property MapCamera ^ ActualCamera { MapCamera ^ get(); };
MapCamera ActualCamera();
public MapCamera ActualCamera { get; }
var mapCamera = mapControl.actualCamera;
Public ReadOnly Property ActualCamera As MapCamera

Property Value

The MapCamera settings that define the current position of the camera.

Remarks

During an animation of the map, the ActualCamera defines the current position of the map's camera and TargetCamera defines the final position of the camera.

The map's camera settings are updated whenever the view of the map is changed. For example, when updating the Center property or calling the TrySetSceneAsync method.

Applies to