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

heatmap issue on certain phones/browsers #350

Open
devman1489 opened this issue Sep 4, 2022 · 0 comments
Open

heatmap issue on certain phones/browsers #350

devman1489 opened this issue Sep 4, 2022 · 0 comments

Comments

@devman1489
Copy link

There is a problem that causes the webpage to crash. It works fine with my iPhone Xr and desktops, but for an iPhone 8 for safari and google (this is all I could test) it loads but half a second later causes either, "a problem repeatedly occurred" for safari or "the webpage is not available" for google.
I've narrowed it down to being the following lines of code...

                heatmapLayer.setData({max:8, min:0, data: [{lat: 24.6408, lng:80.0, count: 1}]});
                heatmapLayer.addTo(mymap)

This data is loaded when the page loads, and if the above is removed, the page doesn't crash.
Also, there is another way to prevent crashing, and that is to have either the lat or long data be less than ~80, which is why I am here.
I have no idea why that is or how to fix it, any help would be greatly appreciated.
By the way, this is being tested on app engine on google cloud platform with https, not sure if that changes anything.

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