Open AEiosApp opened 1 month ago
This is a known limitation of the terrain implementation (along other issues). You are welcome to dig into it and open a PR if you find ways to improve the performance.
I've made few more tests and localized the issue a bit more.
1. Issue is only on Android browser - WebView with Chrome 60+ Same code works fine:
Don't think it's a lack of memory or CPU of my Android device, I'm using Xiaomi Note 12 Pro 5G with:
2. Issue depends on the map zoom level If my map tiles includes zoom levels 0 to 14:
maplibre-gl-js version: 4.5.0 browser: Chrome, Android WebView with Chrome version 60
Steps to Trigger Behavior
Link to Demonstration
Hey guys, thanks a lot for the 3D terrain support, it is really great!
However, I'm facing a performance issue when I use it. Please, see the video below:
Is there a chanse to figure out with the performance? Because of this issue, we can't use this great feature in production.
Let me know if you'd like me to provide more information or make more tests.
https://github.com/user-attachments/assets/67df8c6a-6aa0-445d-bee7-b3c2c1f391ad
Style sample
Code sample