You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Map Freezing (Or Not Rendering) After Undefined Amount Of Time #9459
Map freezes, zooming no longer works, but rotating seems to register with the compass
Expected behavior
Able to zoom, move, or rotate freely with no freezing
Actual behavior
Map freezes after a few seconds
I've been trying to use a map in my app, but I'm getting the above behavior on a Sony Xperia Z5 (model E6653) with API 22. My app doesn't exhibit this behavior on any Samsung (S3 with API 18, S5 with APIs 19, 21, and 23) or any emulated device running API 22 or otherwise. I've looked around for a solution, and have found that issues #8030, #9441, #9389, and #8728 are all pretty much the behavior I'm seeing, but there are no resolutions. Logcat doesn't say anything when the map stops responding, and the behavior can be replicated with the most basic app from the overview.
@mitchBlock are you using fragments to display the map? A workaround mentioned by others is using TextureView as rendering surface instead of surfaceview (you can enable this through xml or MapboxMapOptions).
Activity
tobrun commentedon Aug 2, 2017
@mitchBlock are you using fragments to display the map? A workaround mentioned by others is using TextureView as rendering surface instead of surfaceview (you can enable this through xml or MapboxMapOptions).
kikothemaster commentedon Aug 27, 2020
For anyone with fragment map view not moving, use
app:mapbox_renderTextureMode="true"inside MapView in xml.