Export Webmap

Titleā€ƒ Export Webmap

Summary

Takes the state of a web app (for example, included services, layer visibility settings, and client-side graphics) and returns a printable page layout or basic map of the specified area of interest.


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 app. See the ExportWebMap specification to understand how to format this text. The ArGIS web APls for JavaScript, Flex, Silverlight, and so on allow you to get this JSON string from the

Output_File

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

Format (Optional)

Specifies the format in which the map image for printing will be delivered.8-bit Portable Network Graphics (PNG8)-8-bit Portable Network Graphics (PNG8) will be used. This is the default.Portable Document Format (PDF)- Portable Document[Format (PDF) will be used.32-bit Portable Network Graphics (PNG32)-32-bit Portable Network Graphics (PNG32) will be used.Joint Photographic Experts Group (JPG) - Joint Photographic Experts Group (JPG) will be used.Graphics Interchange Format (GIF) - Graphics Interchange Format (GIF) will be used.Encapsulated PostScript (EPS) - Encapsulated PostScript (EPS) will be used.Scalable Vector Graphics (SVG) - Scalable Vector Graphics (SVG) will be used.Compressed Scalable Vector Graphics (SVGZ)-Compressed Scalable Vector Graphics (SVGZ) will be used.Adobe Illustrator Exchange (AIX)-Adobe Illustrator Exchange (AIX) will be used.Tag Image File Format (TIFF) -Tag Image File Format (TIFF) will be used. The background of the output file is always

Layout_Template (Optional)

Specifies the format in which the map image for printing will be delivered.8-bit Portable Network Graphics (PNG8)-8-bit Portable Network Graphics (PNG8) will be used. This is the default.Portable Document Format (PDF)- Portable Document[Format (PDF) will be used.32-bit Portable Network Graphics (PNG32)-32-bit Portable Network Graphics (PNG32) will be used.Joint Photographic Experts Group (JPG) - Joint Photographic Experts Group (JPG) will be used.Graphics Interchange Format (GIF) - Graphics Interchange Format (GIF) will be used.Encapsulated PostScript (EPS) - Encapsulated PostScript (EPS) will be used.Scalable Vector Graphics (SVG) - Scalable Vector Graphics (SVG) will be used.Compressed Scalable Vector Graphics (SVGZ)-Compressed Scalable Vector Graphics (SVGZ) will be used.Adobe Illustrator Exchange (AIX)-Adobe Illustrator Exchange (AIX) will be used.Tag Image File Format (TIFF) -Tag Image File Format (TIFF) will be used. The background of the output file is always

Code Samples

Tags

Credits

Use limitations