Set Layer Visibility Activity

Description:

Sets the visibility of a layer in a client application.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Geocortex.Workflow.Activities.ExternalActivityBase
        Geocortex.Workflow.Activities.SetLayerVisibility

Function:

This activity allows a workflow to control the visibility of layers in the user’s map.

In a Workflow:

You would use this activity if you need to show or hide a layer in the user’s map.

Properties:

Name Description

In Arguments

Map Service Id

The id of the Geocortex map service that contains the layer.

Layer Id

The id of the Geocortex layer whose visibility will be set.

Layer Name

The name of the Geocortex layer whose visibility will be set. If a Layer Id is also supplied the Id will be preferred.

Visibility

True or False. The desired visibility of the layer.

Misc

Display Name

SetLayerVisibility

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

External Id

An activity handler within a client can reference this particular activity using this external identifier.

Version Information:

Supported from: Geocortex Essentials 3.6, Geocortex Viewer for Silverlight 1.4, Geocortex Viewer for HTML5 1.0.