Class KmlViewpoint
A KML viewpoint contains information about a viewer's position, either defined as a LookAt relationship to another object or a camera. See the guide documentation and samples for information about converting KmlViewpoints into Runtime Viewpoint objects.
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlViewpoint
Properties
Name | Description |
---|---|
AltitudeMode | Gets the KML altitude mode, which determines how altitude values should be interpreted. |
Heading | Gets the heading in degrees. Ranges from 0 (North) to 360, with 90 being East. |
Location | Gets the viewpoint's location. |
Pitch | Gets the angle between the camera and the Location, in degrees. |
Range | Gets the distance in meters between the Location and the camera. |
Roll | Gets the rotation of the camera around the Z axis. |
Type | Gets the viewpoint's type (camera or LookAt). |
Methods
Name | Description |
---|---|
CreateCameraViewpoint(MapPoint, Double, Double, Double, KmlAltitudeMode) | Creates a KML viewpoint from the provided camera location. |
CreateLookAtViewpoint(MapPoint, Double, Double, Double, KmlAltitudeMode) | Creates a KML viewpoint from the provided look-at location. |
CreateWithViewpoint(Viewpoint) | Creates a KML viewpoint from a Viewpoint. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.4 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 100.15 |