grinat / leaflet-simple-map-screenshoter

Leaflet plugin which take screenshot of map
MIT License
71 stars 19 forks source link

Blob return type of takeScreenshot ignores mime type #21

Closed jdkuhnke closed 3 years ago

jdkuhnke commented 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.

grinat commented 3 years ago

@jdkuhnke merged and published: leaflet-simple-map-screenshoter (0.4.4)

jdkuhnke commented 3 years ago

Thanks, works for me!