Skip to content

Conversation

Bengreen
Copy link

in my usage of this via leaflet.heat I have a lifecycle where the canvas can be 0 width or 0 height which is causing getImageData to throw an error.
I placed a guard around the relevant section so this case is covered.
If you can accept this request I will contact the leaflet.heat upstream and ask for them to propagate the update to their release.

@Bengreen
Copy link
Author

Bengreen commented Feb 6, 2018

Any feedback if this can be included ?

@Dumbaz
Copy link

Dumbaz commented Jun 18, 2020

This has been open for a long time, was it just an oversight?

@corrigancd
Copy link

Hello, great plugin. Wondering if this is something that can be merged?

corrigancd added a commit to sirensolutions/Leaflet.heat that referenced this pull request Nov 30, 2020
corrigancd added a commit to sirensolutions/Leaflet.heat that referenced this pull request Nov 30, 2020
@victorperezpiqueras
Copy link

Same issue here, is it going to be merged anytime soon?

victorperezpiqueras added a commit to victorperezpiqueras/simpleheat that referenced this pull request May 10, 2023
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

Successfully merging this pull request may close these issues.

5 participants