grinat / leaflet-simple-map-screenshoter

Leaflet plugin which take screenshot of map
MIT License
74 stars 20 forks source link

Screenshoter not working properly on Firefox #54

Open Zozocom opened 1 year ago

Zozocom commented 1 year ago

Hello, Working on Firefox, the screenshoter gives unexpected results. On Brave browser, behavior is aleatory : sometimes it works as expected, sometimes gives a black screen. What I tried so far : switching from canvas to svg map,

screen-1 screen-11

Both captures here are from Firefox browser.

I'm adding it the pure basic way :

new SimpleMapScreenshoter({position: 'topright'}).addTo(this.map)

Console is fine and no error is thrown at any point. Does someone have an idea of where it could come from ?

Thanks by advance,

benalyrym commented 11 months ago

Hi I have the same problem did you find a solution please?

baarbaracrr commented 5 months ago

Hello! I have the same problem. It works on Google, but not on Firefox.