CreateMapArea

Titleā€ƒ CreateMapArea

Summary

The Create Map Area task is used to create a Map Area item from a Web Map with a given extent. This tool adds a Map2Area relationship between the web map and output map area item. A web map can only have one map area for a given extent.


Usage

Syntax

Parameter Explanation
mapItemId

The ID of the web map item.

bookmark (Optional)

Map extent specified using a bookmark from the map, or extent parameter can be used instead. This parameter is deprecated.

extent (Optional)

Map extent specified using a JSON envelope object to create output item. Extent is required specified using either bookmark or extent. If both are available, extent will take precedence over bookmark. This parameter is deprecated.

areaType (Optional)

area (Optional)

outputName (Optional)

A JSON object that contains information specified for the output item including title, snippet, tags, description and folderId. Output item is created in the same folder as the web map by default.

Code Samples

Tags

Credits

Use limitations