Closed jdkuhnke closed 3 years ago
The takeScreenshot function can return a DataURL of the specified type in the initial plugin options or the overwrite options of the function. However, when return a Blob the mime type is ignored and the function always returns a png.
takeScreenshot
@jdkuhnke merged and published: leaflet-simple-map-screenshoter (0.4.4)
Thanks, works for me!
The
takeScreenshot
function can return a DataURL of the specified type in the initial plugin options or the overwrite options of the function. However, when return a Blob the mime type is ignored and the function always returns a png.