deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] Mobile crashing issue while zooming in google maps

Open Atulsaini444 opened this issue 1 year ago • 1 comments

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

  • [ ] Script tag
  • [X] React
  • [ ] Python/Jupyter notebook
  • [ ] MapboxOverlay
  • [X] GoogleMapsOverlay
  • [ ] CartoLayer
  • [ ] ArcGIS

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

  • Framework version: deck gl latest version
  • Browser: Chrome110.0
  • OS: iOS 17.1

Logs

No logs printed

Atulsaini444 avatar Aug 08 '24 04:08 Atulsaini444

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.

ibgreen avatar Aug 08 '24 20:08 ibgreen