Export a Map in PNG Format

357
3
09-17-2019 08:59 AM
NadirHussain
Occasional Contributor II

Dear All,

My Project manager want a custom report like the image given below.how can i achieve this task using arcgis java script api.please help.Thanks in advance

0 Kudos
3 Replies
AndrewKniowski1
New Contributor II

Hi, we most often see customers approaching functionality such as this through a print service.  We have a print widget that makes it simple to implement in the JavaScript API.  It is possible to create custom print templates with your own print service if desired.

NadirHussain
Occasional Contributor II

Dear Andrew ,

I am using arcgis java script 3.29.how to achieve this task in that api.

Thanks in advance.

0 Kudos
ThanHtetAung_EsriAu
Esri Regular Contributor

Hi Nadir,

For javascript side you can refer to that : Print | ArcGIS API for JavaScript 3.29 

In order to use your desire print layout like what you described, it is better to publish print gp task with custom layout. 

And then use that gp task by above js reference link I mentioned.

Below is how to publish

Publish an additional print service with custom layouts from ArcMap—Documentation (10.7) | ArcGIS En... 

Share a print service web tool with custom layouts from ArcGIS Pro—Documentation (10.7) | ArcGIS Ent...