Custom NMP Printing Tools

Titleā€ƒ Custom NMP Printing Tools

Summary

Tool to publish an NMP print service. The parameters are populated with default values that should create a printed image - when testing the print service via the REST API HTML interface.


Usage

Syntax

Parameter Explanation
Web_Map_as_JSON

A JavaScript Object Notation (JSON) representation of the state of the map to be exported as it appears in the web app. JSON is the format of the web map. It contains the full state of the web map (for example, layers, coordinate system, extent, scale, and so on). ArcGIS API for JavaScript and ArcGIS Web AppBuilder allow you to get this JSON string from the web app

Format (Optional)

The format in which the map image for printing will be delivered. The following strings are accepted: PDF, PNG, PNG8, PNG32, JPG, GIF, EPS, SVG, and SVGZ.

Layout_Templates_Folder (Optional)

The folder where the custom Layout Template files are stored.

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 surroundings (for example, title, legends, scale bar, and so on).

Code Samples

Tags

OSI

Credits

Use limitations