You can use the Kendo Drawing API for this.
- Read about the Kendo Drawing API, this should give you an idea of how it works. I've borrowed some code from the example we'll use in the next step.
- Visit the map demo page and open a console. Copy and paste the code example below in your console window and hit enter. You should be prompted download an image of the map displayed.
This can be customized by changing the value in drawDOM to your own map's wrapper element. Also, replace the proxyURL with your own as needed.
// Convert the DOM element to a drawing using kendo.drawing.drawDOM
kendo.drawing.drawDOM($("#exampleWrap"))
.then(function(group) {
// Render the result as a PNG image
return kendo.drawing.exportImage(group);
})
.done(function(data) {
// Save the image file
kendo.saveAs({
dataURI: data,
fileName: "example.png",
proxyURL: "http://demos.telerik.com/kendo-ui/service/export"
});
});