Sample JSON representation of an Esri Web Map for Export Web Map task


/ Published in: Other
Save to your folder(s)

A sample JSON representation of an Esri Web map based on the [ExportWebMap specifications](
http://resources.arcgis.com/en/help/rest/apiref/exportwebmap_spec.html)

The JSON is a parameter to be input into the [Export Web Map task](
http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute)


Copy this code and paste it in your HTML
  1. {
  2. "operationalLayers": [],
  3. "baseMap": {
  4. "baseMapLayers": [
  5. {
  6. "id": "defaultBasemap",
  7. "opacity": 1,
  8. "visibility": true,
  9. "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"
  10. }
  11. ],
  12. "title": "Topographic"
  13. },
  14. "exportOptions": {
  15. "dpi": 300,
  16. "outputSize": [
  17. 1280,
  18. 1024
  19. ]
  20. }
  21. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.