Skip To Content ArcGIS for Developers Sign In Dashboard

KmlViewpoint QML Type

Contains all information about the the KML camera and look at point. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.4
Inherits:

Object

Properties

Signals

Methods

  • KmlViewpoint createCameraViewpoint(Point cameraLocation, double heading, double pitch, double roll, Enums::KmlAltitudeMode altitudeMode)
  • KmlViewpoint createLookAtViewpoint(Point lookAtLocation, double heading, double pitch, double roll, Enums::KmlAltitudeMode altitudeMode)
  • KmlViewpoint createWithViewpoint(Viewpoint viewpoint)

Detailed Description

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
ViewpointinitViewpoint

Property Documentation

altitudeMode : Enums.KmlAltitudeMode

Returns the KML viewpoint's altitude mode (read-only).

See also Enums.KmlAltitudeMode.


heading : double

Returns the KML viewpoint's heading(read-only).


initViewpoint : Viewpoint

The initial KML viewpoint.

This property can be set only during instantiation.

This QML property was introduced in Esri.ArcGISRuntime 100.6.


location : Point

Returns the KML viewpoint's location (read-only).


pitch : double

Returns the KML viewpoint's pitch (read-only).


range : double

Returns the KML viewpoint's range (read-only).


roll : double

Returns the KML viewpoint's roll (read-only).


type : Enums.KmlViewpointType

Returns the KML viewpoint's type (read-only).

See also Enums.KmlViewpointType.


Signal Documentation

initViewpointChanged()

Emitted when the initViewpoint property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.6.


Method Documentation

KmlViewpoint createCameraViewpoint(Point cameraLocation, double heading, double pitch, double roll, Enums::KmlAltitudeMode altitudeMode)

A static method that creates a KML viewpoint from the provided camera location.

  • cameraLocation - The location of the camera.
  • heading - The heading associated with this viewpoint. This is defined in terms of degrees from 0 (North) to 360, with 90 being East.
  • pitch - The pitch value (elevation angle) in degrees of the observer's view, values between 90 and 180 indicate the camera is looking towards the sky.
  • roll - The rotation in degrees of the viewpoint camera around the Z axis. Values range from -180 to 180 degrees.
  • altitudeMode - Enums.KmlAltitudeMode enumeration of the KML altitude modes.

This QML method was introduced in Esri.ArcGISRuntime 100.6.


KmlViewpoint createLookAtViewpoint(Point lookAtLocation, double heading, double pitch, double roll, Enums::KmlAltitudeMode altitudeMode)

A static method that creates a KML viewpoint from the provided look at location.

  • lookAtLocation - The observed location.
  • heading - The heading associated with this viewpoint. This is defined in terms of degrees from 0 (North) to 360, with 90 being East.
  • pitch - The pitch value (elevation angle) in degrees of the observer's view, 0 and 180 for Camera viewpoints. 0 means the camera is pointing straight down towards the Earth and 90 means the camera is looking from/towards the horizon.
  • range - The distance between the camera and the LookAt viewpoint's target location.
  • altitudeMode - Enums.KmlAltitudeMode enumeration of the KML altitude modes.

This QML method was introduced in Esri.ArcGISRuntime 100.6.


KmlViewpoint createWithViewpoint(Viewpoint viewpoint)

A static method that creates a KML viewpoint from the provided viewpoint.

  • viewpoint - The viewpoint must always have a look at point, and optionally also have a camera.

This QML method was introduced in Esri.ArcGISRuntime 100.6.



Feedback on this topic?