When you call toBlob() on the canvas that is generated it produces an empty image. It appears that when the context ("webgl") for the canvas is created for drawing, a parameter needs to be passed in preserveDrawingBuffer:true as an option. Is that something that can be added as on option on the map constructor options so that the image generated can be accessed?
When you call toBlob() on the canvas that is generated it produces an empty image. It appears that when the context ("webgl") for the canvas is created for drawing, a parameter needs to be passed in preserveDrawingBuffer:true as an option. Is that something that can be added as on option on the map constructor options so that the image generated can be accessed?