Exporter une carte Web

Title  Exporter une carte Web

Summary

Outil de géotraitement qui facilite l’impression depuis des applications Web.


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 application. See the ExportWebMap 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.

Output_File

Output file name. The extension of the file depends on the output file format.

Format (Optional)

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)
  • PDF
  • PNG32
  • JPG
  • GIF
  • EPS
  • SVG
  • SVGZ

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 forth)

Code Samples

Tags

Credits

Use limitations