Exports an image of an ArcGIS API for JavaScript map.