Set Map Extent Activity
Description
Sets the extent of the currently selected map.
Inputs
Scale |
Optional Type: Number The scale to zoom to with the map centered on the supplied features or geometries. |
Geometry |
Optional Type: esri.Geometry (3.x, 4.x)* The geometry to go to. |
Features |
Optional Type: esri.Graphic (3.x, 4.x)* | esri.FeatureSet (3.x, 4.x)* | esri.Graphic[] (3.x, 4.x)* The features to go to. |
* 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
oldExtent |
The previous extent. |
oldScale |
Type: Number The previous scale. |
newExtent |
The extent of the view. |
newScale |
Type: Number The new scale at the current extent. |
* 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.
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.
See also...
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html