visgl / deck.gl

WebGL2 powered visualization framework
https://deck.gl
MIT License
12.21k stars 2.09k forks source link

[Bug] Mobile crashing issue while zooming in google maps #9079

Open Atulsaini444 opened 2 months ago

Atulsaini444 commented 2 months ago

Description

I have added geojson layer using deck gl on the google maps. It is working very well in the laptop/desktop but when i open my website in the mobile's(any android or IOS) chrome, then it is crashing. and below error comes. Skype_Picture_2024_08_08T04_52_38_598Z

Now more interesting thing is that, when i opened google-maps-3dtiles in mobile, then the same issue is coming, after zooming in 2-3 times then tab crashes. Link: https://deck.gl/examples/google-3d-tiles. Skype_Picture_2024_08_08T04_52_47_462Z

Flavors

Expected Behavior

It should also work on mobile browsers.

Steps to Reproduce

Note: open this in mobile browser(chrome, safari or anyone).

Just go onto below link and and then zoom in zoom out frequently. Link: https://deck.gl/examples/google-3d-tiles

Environment

Logs

No logs printed

ibgreen commented 2 months ago

At least for 3d-tiles the tab is likely running out of memory. It may be possible to reduce memory pressure somewhat by reducing cache size etc but I don't have a simple recipe for you to follow. Also reduce DPI / resolution, avoid picking etc can all help. Unfortunately we don't have any contributor that is focused on mobile devices.