Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Remove Graphics Activity

Prev Top Next More

Description

Removes the specified features from a graphics layer in the currently selected map.

Usage

You may need to draw features on a map. You could use the Set Map activity to switch to the map you want to draw on, if there is more than one map, and then use the Remove Graphics activity to remove some of the features that were drawn using the Add Graphics activity.

Inputs

Layer Id

Optional

Type: String | Number

The ID of the graphics layer in the currently selected map 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 default graphics layer of the currently selected map.

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.

* 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

This activity has no outputs.

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)