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

IndexSizeError: Index or size is negative or greater than the allowed amount #102

Open
GopherJ opened this issue Jun 24, 2018 · 2 comments

Comments

@GopherJ
Copy link

GopherJ commented Jun 24, 2018

I've got this error, anyone the same?

@matthewboman
Copy link

yup

@tombh
Copy link

tombh commented Jun 27, 2019

It's actually a bug in https://github.com/mourner/simpleheat It happens when the initial page load doesn't have dimensions above zero. I think a workaround could actually come from CSS, ensuring that your map as dimensions above zero in all conditions.

The relevant line in simpleheat is here: https://github.com/mourner/simpleheat/blob/gh-pages/simpleheat.js#L104

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

3 participants