NPS Inventory and Monitoring ArcGIS REST Services Directory
JSON

Task: Export Web Map Task

Display Name: Export Web Map Task

Description: Takes the state of a web application (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.

Category:

Help URL: https://irmaservices.nps.gov/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/Utilities_PrintingTools/ExportWebMapTask1.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 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.
      Direction: esriGPParameterDirectionInput
      Dependency:
      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.PDF — Portable Document Format. This is the default.PNG8 — 8-bit Portable Network GraphicsPNG32 —32-bit Portable Network GraphicsJPG — Joint Photographic Experts GroupGIF — Graphics Interchange FormatEPS — Encapsulated PostScriptSVG — Encapsulated PostScriptSVGZ — Compressed Scalable Vector Graphics
      Direction: esriGPParameterDirectionInput
      Dependency:
      Default Value: PDF
      Parameter Type: esriGPParameterTypeOptional
      Category:
      Choice List: [ PDF, PNG32, PNG8, JPG, GIF, EPS, SVG, SVGZ, AIX ]

    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 elements like titles, legends, or scale bars, for example.
      Direction: esriGPParameterDirectionInput
      Dependency:
      Default Value: MAP_ONLY
      Parameter Type: esriGPParameterTypeOptional
      Category:
      Choice List: [ A3 Landscape, A3 Portrait, A4 Landscape, A4 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:
      Direction: esriGPParameterDirectionOutput
      Dependency:
      Default Value:
      Parameter Type: esriGPParameterTypeRequired
      Category:



Supported Operations:   Execute Task