Method CreateLookAtViewpoint
CreateLookAtViewpoint(MapPoint, Double, Double, Double, KmlAltitudeMode)
Creates a KML viewpoint from the provided look-at location.
Declaration
public static KmlViewpoint CreateLookAtViewpoint(MapPoint lookAtLocation, double heading, double pitch, double range, KmlAltitudeMode altitudeMode)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | lookAtLocation | The observed location. |
Double | heading | The Heading relative to the line-of-sight towards |
Double | pitch | The Pitch relative to the line-of-sight towards |
Double | range | The distance between the point of observation (camera) and the point being observed. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode that determines how Z-values of |
Returns
Type | Description |
---|---|
KmlViewpoint | A newly-created KmlViewpoint. |
Remarks
A 'LookAt' KML viewpoint positions the camera indirectly, in relation to an observed location. The Type of the created KML viewpoint will be LookAt.
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 |