deck.gl
deck.gl copied to clipboard
[Bug] Mobile crashing issue while zooming in google maps
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.
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.
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
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.