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

when the width or height are 0 triggers a throw #33

Open
Bengreen opened this issue Nov 24, 2017 · 1 comment
Open

when the width or height are 0 triggers a throw #33

Bengreen opened this issue Nov 24, 2017 · 1 comment

Comments

@Bengreen
Copy link

When I am using this (inside leaflet.heat) I am getting an error thrown as due to the lifecycle of objects, but initial canvas is created with size 0,0 so throwing an error with the getImageData functions.
Is it possible to put guards around these to do something without a throw if the width or height are 0.

@Bengreen
Copy link
Author

This is solved by #34

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