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

Disable save tool when using map tiles #206

Closed
philippjfr opened this issue Jul 10, 2018 · 0 comments
Closed

Disable save tool when using map tiles #206

philippjfr opened this issue Jul 10, 2018 · 0 comments

Comments

@philippjfr
Copy link
Member

When using map tiles the browser prevents the save tool from working because the cross-origin requests, the developer console says the following:

Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.

There is likely nothing that can be done about as described in this StackOverflow post, which means we should disable the save tool if a tile source is used.

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