OpenLayers 3 Examples
Export JPEG
Export JPEG example
Example of exporting a map as a JPEG image.
See the
export-jpeg.js source
to see how this is done.
export-jpeg, openstreetmap