Add Feature Layer Activity

Description

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

Usage

You may need to add features to the 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.

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

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

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity works when the device is offline.

Version Information

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15