Export Web Map

Title  Export Web Map

Summary

d


Usage


Syntax

Parameter Explanation
Web_Map_as_JSON

A JSON representation of the state of the map to be exported as it appears in the web application. See the ExportWebMap specification to understand how this text should be formatted. The ArcGIS web APIs (for JavaScript, Flex, Silverlight, and so on) allow developers to easily get this JSON string from the map.

Output_File (Optional)

The output file name. The extension of the file depends on the Format parameter.

Format (Optional)

The format in which the map image for printing will be delivered.8-bit Portable Network Graphics (PNG8)—8-bit Portable Network Graphics (PNG8). This is the default.Portable Document Format (PDF)—Portable Document Format (PDF)32-bit Portable Network Graphics (PNG32)—32-bit Portable Network Graphics (PNG32)Joint Photographic Experts Group (JPG)— Joint Photographic Experts Group (JPG)Graphics Interchange Format (GIF)— Graphics Interchange Format (GIF)Encapsulated PostScript (EPS)— Encapsulated PostScript (EPS)Scalable Vector Graphics (SVG)—Scalable Vector Graphics (SVG)Compressed Scalable Vector Graphics (SVGZ)—Compressed Scalable Vector Graphics (SVGZ)The background of the output file is always opaque.

Layout_Template (Optional)

Either a name of a template from the list or the keyword MAP_ONLY. When MAP_ONLY is chosen or an empty string is passed in, the output map does not contain any page layout elements like titles, legends, or scale bars, for example.

Code Samples

Tags

Credits

Use limitations