Display Name: Export Web Map Task
Description: This Export Web Map Task takes the state of the web application (for example, included services, layer visibility settings, client-side graphics, and so forth) and returns either (a) a page layout or (b) a map without page surrounds of the specified area of interest in raster or vector format.The input for Export Web Map is a piece of text in JavaScript object notation (JSON) format describing the layers, graphics, and other settings in the web map. The JSON must be structured according to the WebMap specification in the ArcGIS HelpThis tool is shipped with ArcGIS Server to support web services for printing, including the preconfigured service named PrintingTools. The ArcGIS web APIs for JavaScript, Flex, and Silverlight use the PrintingTools service to generate images for simple map printing.The PrintingTools service uses a model containing the Export Web Map tool.
Category:
Help URL: https://apps.lickingcounty.gov/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/Utilities_PrintingTools/ExportWebMapTask.htm
Execution Type: esriExecutionTypeSynchronous
Parameters:
Parameter: Web_Map_as_JSON
Data Type: GPString
Display Name Web Map as JSON
Description: A JSON representation of the state of the map to be exported as it appears in the web application. See the WebMap specification in the ArcGIS Help to understand how this text should be formatted. The ArcGIS web APIs (for JavaScript, Flex, Silverlight, etc.) allow developers to easily get this JSON string from the map.
Direction: esriGPParameterDirectionInput
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: Format
Data Type: GPString
Display Name Format
Description: The format in which the map image for printing will be delivered. The following strings are accepted.For example:PNG8 (default if the parameter is left blank)PDFPNG32JPGGIFEPSSVGSVGZ
Direction: esriGPParameterDirectionInput
Default Value: PDF
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ PDF, PNG32, PNG8, JPG, GIF, EPS, SVG, SVGZ ]
Parameter: Layout_Template
Data Type: GPString
Display Name Layout Template
Description: 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 surroundings (for example title, legends, scale bar, and so forth)
Direction: esriGPParameterDirectionInput
Default Value: MAP_ONLY
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ A3 Landscape, A3 Portrait, A4 Landscape, A4 Portrait, ANSI D Landscape, ANSI D Portrait, Letter ANSI A Landscape, Letter ANSI A Portrait, Tabloid ANSI B Landscape, Tabloid ANSI B Portrait, MAP_ONLY ]
Parameter: Output_File
Data Type: GPDataFile
Display Name Output File
Description: Output file name. The extension of the file depends on the output file format.
Direction: esriGPParameterDirectionOutput
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Supported Operations:
Execute Task