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. |
| System.Double | heading | The Heading of the camera. |
| System.Double | pitch | The Pitch of the camera. |
| System.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 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.6 - 200.8 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 200.8 |