I would like to include an inset box that displays an overview map when the user prints it. Here is may app that has print functionality in it:
maps.decaturil.gov/decaturPrintMulti
Click on the hammer.
Click on the printer.
And then the print dialog comes up. I would like to include a checkbox with a default checked to include the overview map. Any ideas?
You'll need publishing permission on ArcGIS Server too, so chat to the server admin about that. Here is a tutorial page for publishing printing services.
As for the overview map, you can read up on using an extent indicator. Basically you will need an additional data frame in your MXD - one for the main map and one for showing the overview map. Once you've finalised your MXD with an overview map, it must be added to the print templates folder and the print service must be republished.
I don't think you can manipulate a print template dynamically, therefore I would set up 2 different print templates for each page size: one with an overview map data frame and one without. Then if the user ticks the option for including an overview map, select print template 1, otherwise print template 2 without the overview map.
I really need the overview map as an inset. I am wanting to migrate something from ArcView and need to keep it simple for the user.
Just for clarification, must the overview map display in the app in a separate container or in the printout map?
I want it to display in the single printout map to make it simple for the user like in the following image and with a border around it so it's easier to see. The overview is in the upper right hand corner here.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.