0

I have set up a map application using ArcGIS JavaScript API v3.16 and included functionality for exporting a map to PDF using the PrintTask. Is there a way that I can use a button/checkbox to turn on an extent box to show on the map application of what portion of the map will show up on the export map output? I have the PrintTask set up to preserve map scale - so extent is not preserved. Usually the output of the PrintTask is less of an extent than that of the map application so I would like to let users be able to know what will be printed.

2
  • Take a look at this discussion on GeoNet that contains code to put in an extent box for the print output: geonet.esri.com/thread/174090
    – kenbuja
    Commented Mar 29, 2016 at 20:39
  • That looks like exactly what I am looking for, I will try that out. Thanks!
    – EvanL
    Commented Mar 29, 2016 at 22:23

1 Answer 1

0

See kenbuja's comment for answer. See here: https://geonet.esri.com/thread/174090

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.