Method CreateCameraViewpoint
CreateCameraViewpoint(MapPoint, Double, Double, Double, KmlAltitudeMode)
Creates a KML viewpoint from the provided camera location.
Declaration
public static KmlViewpoint CreateCameraViewpoint(MapPoint cameraLocation, double heading, double pitch, double roll, KmlAltitudeMode altitudeMode)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | cameraLocation | The location of the camera. |
Double | heading | The Heading of the camera. |
Double | pitch | The Pitch of the camera. |
Double | roll | The Roll of the camera. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode that determines how Z-value of |
Returns
Type | Description |
---|---|
KmlViewpoint | A newly-created KmlViewpoint. |
Remarks
A 'Camera' KML viewpoint defines the position of the camera directly. The Type of the created KML viewpoint will be Camera.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |