Command for Embed control to export image
mscherotter opened this issue · 2 comments
mscherotter commented
I would like to export an image from the control
- Add a command to initiate the export
- Add an event to signal the export has been completed. The payload of the message should include the image file.
danmarshall commented
related: #571
This feature may need some spec'ing out. For example, should the color legend be included? (Probably).
Currently the canvas is easily exportable as png, but our legend is in the DOM and would require a library such as one of these HTML to Canvas renderers.
mscherotter commented
The value of exporting the canvas is definitely there if it's easier to do than the whole control.