I'm trying to export an 2.13.1 openLayers map into a canvas, but the methods to do so seem to have vanished.
The old methods would work like:
var exportMapControl = new OpenLayers.Control.ExportMap();
map.addControl(exportMapControl);
var canvas = OpenLayers.Util.getElement("exportedImage");
exportMapControl.trigger(canvas);
Does anyone know how this works for 2.13.1?
Thanks in advance,
ExportMap.jsandGrid.js, I am using WMS layers only, but answered solution is not working for me... :( - prem30488