LocationViewshed QML Type

An analysis object that renders a viewshed for a specified point location. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.2
Inherits:

Viewshed

Properties

Signals

Methods

Detailed Description

LocationViewshed determines visible and non-visible areas in a scene view for an observer defined with a map location (point).

Visible and non-visible areas are determined for an area defined by the observer location, view angles, and the minimum/maximum distance range. These parameters define the frustum over which visibility is calculated from the observer location. Terrain and other obstacles between the observer and the minimum distance are excluded from the analysis, as are areas beyond the maximum distance.

Default properties

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
Pointlocation
CamerainitCamera

Property Documentation

heading : double

The heading value (azimuth) for the location viewshed observer.


[default] initCamera : Camera

The initial Camera to define the frustum of the viewshed. The camera location is that of the observer.

This property can only be set while the LocationViewshed is instantiating.

To update the camera of the LocationViewshed after instantiated use updateFromCamera instead.


[default] location : Point

The observer location.


pitch : double

The pitch value (elevation angle) for the observer's field of vision.


Signal Documentation

headingChanged()

Emitted when the heading property changes.

Note: The corresponding handler is onHeadingChanged.


initCameraChanged()

Emitted when the initCamera property changes.

Note: The corresponding handler is onInitCameraChanged.


locationChanged()

Emitted when the location property changes.

Note: The corresponding handler is onLocationChanged.


pitchChanged()

Emitted when the pitch property changes.

Note: The corresponding handler is onPitchChanged.


Method Documentation

void updateFromCamera(Camera camera)

Updates the frustum of the viewshed using the properties of the supplied camera.

The Camera is used to update the position, pitch, and heading of the viewshed frustum.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.