Capture the currently rendered canvas layers of an OpenLayers map for PDF reports,
without changing the view. Does not await outstanding tiles or capture DOM overlays.
Parameters
map: Map
Visible initialized host map.
Optionalattribution: string
Attribution override; defaults to the map's attribution text.
Capture the currently rendered canvas layers of an OpenLayers map for PDF reports, without changing the view. Does not await outstanding tiles or capture DOM overlays.