Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas toBlob #104

Open
nudgesource opened this issue Jan 11, 2018 · 1 comment
Open

Canvas toBlob #104

nudgesource opened this issue Jan 11, 2018 · 1 comment

Comments

@nudgesource
Copy link

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?

@ghost
Copy link

ghost commented Oct 16, 2018

I would like to draw earth.canvas to another canvas. I believe that it is not working for a similar reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant