Select to view content in your preferred language

Screen Shot Widget for the Flexviewer

2659
14
01-17-2011 03:50 AM
andrewj_ca
Frequent Contributor
A very simple widget that captures a screen shot of the current map window.  I use this in one form or another in many of our flex applications.  Though simple, I've been asked for this functionality many times so I thought I would share it.  I've included the source code as well as a compiled version.

http://www.arcgis.com/home/item.html?id=c3a2b6da36264b5f864993a8d8a5d082
Tags (2)
0 Kudos
14 Replies
MichaelVolz
Esteemed Contributor
Robert:

Pop-ups in the jpg would be an awesome enhancement, but I can understand if you do not include it.

I did notice, however, that the floating grid for the eSearch widget does not get exported, but the eSearch widget itself does.  The information from the floating grid would be very useful if it could be included in the exported jpg image.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   Yes the floating datagrid is on a completely other object stack then the other widgets. If you are using the fixed and it is not hidden than I believe it should be in the export.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

  Version 3.1.2 now supports exporting Popups that don't contain media infos (ie. image, charts).
0 Kudos
MichaelVolz
Esteemed Contributor
Robert:

That was perfect.  Thank you for investing in the time to upgrade this widget.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   3.1.3 is now released

Version 3.1.3 - Feb 13, 2013

* Popups that have chart media elements and not images will now export.
* Fixed issue with determining if Map Info Window does have image or not.
* Exported image now contains all items on the screen even dialogs like error message window and eSearch floating datagrid.
0 Kudos