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. |
System.Double | heading | The Heading relative to the line-of-sight towards |
System.Double | pitch | The Pitch relative to the line-of-sight towards |
System.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 - 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.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |