Set Layer Visibility Activity

Description

Set Layer Visibility activity sets the visibility of a layer.

Offline Support

This activity works when the device is offline.

Inputs

Layer Id

Required

Type: String | Number

The ID of the layer whose property is of interest.

Sublayer Id

Optional

Type: String | Number

The optional index of the sublayer whose definition is of interest.

Visible

Required

Type: Boolean

The visibility to set on the layer.

Outputs

wasVisible

Type: Boolean

Whether the layer was originally visible.

nowVisible

Type: Boolean

Whether the layer was visible at the time of completing the activity.

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.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11