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.7
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

The KML viewpoint's altitude mode.

Alititude mode indicates how to altitude values relate to the ground or sea level.

See also Enums.KmlAltitudeMode.


heading : double

The KML viewpoint's heading.

Heading is defined in terms of degrees from 0 (North) to 360, with 90 being East.


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

The KML viewpoint's location.

The location can be an observed point (LookAt in KML) or the position of the Camera.


pitch : double

The KML viewpoint's pitch.

Pitch is the angle (in degrees) between the camera and the target location, the angle of the observer's view. Values can range from 0 (straight down) through 90 (looking horizontally) to 180 (straight up toward the sky).

Pitch corresponds to tilt in the KML specification.

Value ranges from 0 and 90 for LookAt viewpoints, 0 and 180 for Camera viewpoints.


range : double

The KML viewpoint's range.

Range indicates the distance between the camera and the LookAt viewpoint's target location.


roll : double

The KML viewpoint's roll.

Roll indicates rotation in degrees around the camera's Z axis.


type : Enums.KmlViewpointType

The KML viewpoint's type.

See also Enums.KmlViewpointType.


Signal Documentation

altitudeModeChanged()

Emitted when the altitudeMode property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


headingChanged()

Emitted when the heading property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


initViewpointChanged()

Emitted when the initViewpoint property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.6.


locationChanged()

Emitted when the location property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


pitchChanged()

Emitted when the pitch property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


rangeChanged()

Emitted when the range property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


rollChanged()

Emitted when the roll property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


typeChanged()

Emitted when the type property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


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.

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 value.
  • pitch - The pitch value.
  • range - The range value.
  • 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.

The viewpoint must have a look at point, and optionally a camera.

This QML method was introduced in Esri.ArcGISRuntime 100.6.



Feedback on this topic?