Set Map Extent Activity

Description:

Sets extent of the map in a client application.

Inheritance Hierarchy:

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

Function:

This activity changes the extent of the map on the client to a specified extent.

In a Workflow:

Set Map Extent is usually used after an activity that acquires a new map extent, perhaps through a query or through a union of geometries. The map extent is then sent to the Set Map Extent activity, which sets the map to the given extent. For example, you may use Set Map Extent to zoom to the envelope enclosing a feature.

Properties:

Name Description

In Arguments

Extent

The extent to set the map to, for example,
[an existing Esri Geometry].Extent().Expand(2)

Be sure that the spatial reference of the extent matches that of the map.

Misc

Display Name

SetMapExtent

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.0, Geocortex Viewer for Silverlight 1.0, Geocortex Viewer for HTML5 1.0.