AnsweredAssumed Answered

Adding a Print Extent Indicator to JavaScript Print Dijit

Question asked by SBerg_VHB on Mar 16, 2016
Latest reply on Sep 22, 2016 by Federer

Anyone have suggestions on how to go about calculating and adding an indicator of the actual map extent that a print dijit's current settings and templates would result in?  Assuming you know the ratio of the template's target data frame you can draw a div on top of the map with that ratio but how best to tie to the extent that the print task is going to send or use on the server side?  If you could intercept the map extent being passed in the print task, you could explicitly set the map extent as calculated under the indicator div's screen coordinates but that does not seem accessible.

Thanks for any ideas.

Sam

Outcomes