mapbox/mapbox-gl-leaflet

Canvas image is blank

marshallino16 opened this issue · 1 comments

Hi,

How can we generate an image from the canvas?
Everytime we try something we only get a blank white image.

Also reported here: #79

Thanks

Find out.

There's a preserveDrawingBuffer option that needs to be set to true.

e.g https://docs.mapbox.com/mapbox-gl-js/api/map/