Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Add Feature Layer Activity

Prev Top Next More

Description

The Add Feature Layer activity adds a new feature layer to the currently selected map.

Usage

You may need to add features to a map and prefer to add them to a new layer rather than an existing one. One scenario could be to create a feature set, using the Create Feature Set activity, and then use the Add Feature Layer activity to add the features to a new feature layer.

Inputs

Features

Required

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

The features to show on the new layer.

Display Name

Required

Type: String

The caption for the layer.

Fields

Required

Type: esri.Field[] (3.x, 4.x)*

Details of the data fields to include.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

layer

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

The new feature layer that was created.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

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

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

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

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (58a5caf5)