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

set size on Map to prevent Failed to execute getImageData error #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jefffriesen
Copy link

There is a PR in simpleheat.js that this library depends on that hasn't been accepted yet: https://github.com/mourner/simpleheat/pull/34/files

There is another issue filed in this library that suggests a patch to the simpleheat.js that's pulled down with this library. That approach is fragile and can break in the future. https://github.com/OpenGov/react-leaflet-heatmap-layer/issues/14

Adding height and width on the component fixes this problem so I'm including it in the documentation.

@jeremiahrhall
Copy link
Member

Hi @jefffriesen. This looks good but, can you remove the yarn.lock file? I haven't introduced yarn to this project and would like to handle that, if desired, in a separate PR.

@Tomekmularczyk
Copy link

Seem like this PR is dead but I would really like to have #14 fixed. @jefffriesen @jeremiahrhall maybe I can recreate the PR if you guys are too busy?

@jeremiahrhall
Copy link
Member

Hi @Tomekmularczyk, If you push up a PR I'll review it. :)

@Tomekmularczyk
Copy link

@jeremiahrhall deal :)

@Tomekmularczyk
Copy link

Tomekmularczyk commented Jun 8, 2018

as I mentioned in #31 simply setting width and height doesn't solve the issue #14 - at least for me. Sory for the fuss.

@jefffriesen
Copy link
Author

jefffriesen commented Jun 8, 2018 via email

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.

3 participants