Get Feature Geometry Activity

Description

Gets a geometry from a collection of features.

Offline Support

This activity works when the device is offline.

Inputs

Features

Required

Type: esri.Graphic (3.x, 4.x)* | esri.FeatureSet (3.x, 4.x)* | esri.Graphic[] (3.x, 4.x)*

The FeatureSet or collection of graphics to get the geometry from.

Index

Optional

Type: Number

The zero-based index of the feature to get the geometry from. If not specified, the first feature will be used.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Outputs

geometry

Type: esri.Geometry (3.x, 4.x)*

The geometry of the feature.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.

See Also...

Use an Activity to Access a Feature’s Components

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10