Get Layer Visibility Activity

Description:

Gets 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.GetLayerVisibility

Function:

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

In a Workflow:

You would use this activity if you needed to determine the visibility of a layer in the user’s map.

Properties:

Name Description

In Arguments

Effective Visibility

If True, determines the effective visibility of the layer to the end user taking into account the current map scale and the visibilities of the map service and any ancestor group layers.

If False, determines the visible state of the layer according to the layer’s visibility attribute, and regardless of whether the layer is actually visible to the end user.

Layer Id

The Id of the Geocortex layer whose visibility will be obtained.

Layer Name

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

Map Service Id

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

Misc

Display Name

GetLayerVisibility

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.

Out Arguments

Visibility

True or False. The visibility of the layer.

Version Information:

Supported from: Geocortex Essentials 3.13, Geocortex Viewer for Silverlight 1.9, Geocortex Viewer for HTML5 1.2.