Remove Graphics Activity

Description

Removes the specified features from a graphics layer.

Usage

You may need to draw features on the map. You could use the Remove Graphics activity to remove some features that have been drawn using the Add Graphics activity.

Inputs

Layer Id

Optional

Type: String | Number

The ID of the graphics layer to remove features from. In applications that use the 4.x ArcGIS API for JavaScript, the title of the layer is also searched if no matching ID is found. If no layer ID is provided, the features are removed from the map's default graphics layer.

Features

Required

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

The set of features to be removed from the layer.

* 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

This activity has no outputs.

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