SaveMap_Version2

Titleā€ƒ SaveMap_Version2

Summary

The geoprocessing tool takes several input parameters and saves these to a series of tables and feature classes within an Enterprise Geodatabase. This allows the user to restore a map view within the the GIS Portal Application. The tool will save the current extent of the map, the visible layers, layer definitions, as well as point, text, line and polygon graphics generated within the application through the draw toolbar, and some of the functions like routing.


Usage

Geoprocessing tool is built for use as a geoprocessing service.


Syntax

Parameter Explanation
xMin

Map Extent xMin

yMin

Map Extent yMin

xMax

Map Extent xMax

yMax

Map Exten yMax

Spatial_Reference

Map Spatial Reference

Map_Scale

Map Scale

Visible_Layers

JSON List of Visible Layers in the web mapping application.

Layer_Query

JSON list of defintion queries for the layers in the map.

Save_Map_Status

Boolean value which identifies if the input is being saved (True) or deleted (False).

Map_Title

Map Title with User_ID and Map_ID as a JSON string.

Point_Graphics (Optional)

Feature Set of Point Graphics. If the poing graphic is being represented with Text the TEXT attribute of the graphic's attribute will be populated.

Line_Graphics (Optional)

Feature Set of Line Graphics

Poly_Graphics (Optional)

Feature Set of Polygon Graphics

Delete_All (Optional)

Delete All Bookmarks Flag, if this value is set to true all bookmarks for the input USER ID will be deleted.

Code Samples

Tags

Save the Map, Bookmarks, GIS Portal

Credits

Use limitations