{ "name": "ExportWebMap", "displayName": "Export Web Map", "description": "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.", "category": "", "helpUrl": "https://gismaps.cityofnapa.org/arcgis/rest/directories/AddressWithZone/Test/ExportWebMap_GPServer/Test_ExportWebMap/ExportWebMap.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Web_Map_as_JSON", "dataType": "GPString", "displayName": "Web Map as JSON", "description": "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 this text should be formatted. The ArcGIS web APIs (for JavaScript, Flex, Silverlight, and so on) allow you to get this JSON string from the map.", "direction": "esriGPParameterDirectionInput", "defaultValue": { "mapOptions": { "showAttribution": true, "extent": { "xmin": -3.757032814272009E7, "ymin": -1.5552387679177042E7, "xmax": 3.757032814272009E7, "ymax": 1.9552387679177042E7, "spatialReference": {"wkt": "PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"} }, "spatialReference": {"wkt": "PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}, "scale": 1.47914381897889E8 }, "operationalLayers": [ { "id": "defaultBasemap", "title": "World Topographic Map", "opacity": 1, "minScale": 0, "maxScale": 0, "url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" } ], "exportOptions": { "outputSize": [ 670, 500 ], "dpi": 96 }, "layoutOptions": { "titleText": "", "authorText": "", "copyrightText": "", "customTextElements": [ {"Date": "12/9/2019, 9:17:04 AM"} ], "scaleBarOptions": { "metricUnit": "esriKilometers", "metricLabel": "km", "nonMetricUnit": "esriMiles", "nonMetricLabel": "mi" }, "legendOptions": { "operationalLayers": [] } } }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output File", "description": "The output file name. The extension of the file depends on the Format parameter.", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Format", "dataType": "GPString", "displayName": "Format", "description": "Specifies the format in which the map image for printing will be delivered.8-bit Portable Network Graphics (PNG8)\u20148-bit Portable Network Graphics (PNG8). This is the default.Portable Document Format (PDF)\u2014Portable Document Format (PDF)32-bit Portable Network Graphics (PNG32)\u201432-bit Portable Network Graphics (PNG32)Joint Photographic Experts Group (JPG)\u2014 Joint Photographic Experts Group (JPG)Graphics Interchange Format (GIF)\u2014 Graphics Interchange Format (GIF)Encapsulated PostScript (EPS)\u2014 Encapsulated PostScript (EPS)Scalable Vector Graphics (SVG)\u2014Scalable Vector Graphics (SVG)Compressed Scalable Vector Graphics (SVGZ)\u2014Compressed Scalable Vector Graphics (SVGZ)Adobe Illustrator Exchange (AIX)\u2014Adobe Illustrator Exchange (AIX)The background of the output file is always opaque.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PDF", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "PDF", "PNG32", "PNG8", "JPG", "GIF", "EPS", "SVG", "SVGZ", "AIX" ] }, { "name": "Layout_Template", "dataType": "GPString", "displayName": "Layout Template", "description": "The 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 will not contain any page layout elements such as title, legend, or scale bar.", "direction": "esriGPParameterDirectionInput", "defaultValue": "11 x 17 Landscape", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "08.5 x 11 Landscape", "08.5 x 11 Portrait", "11 x 17 Landscape", "11 x 17 Portrait", "17 x 22 Landscape", "22 x 34 Landscape", "34 x 44 Landscape", "34 x 44 Portrait", "MAP_ONLY" ] } ] }