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.
Inheritance
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlViewpointProperties
| 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 - 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.4 - 200.8 | 
| Xamarin.Android | 100.4 - 100.15 | 
| Xamarin.iOS | 100.4 - 100.15 | 
| UWP | 100.4 - 200.8 |