Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@mitchBlock

Platform: Android
Mapbox SDK version: 5.1.0

Steps to trigger behavior

  1. Load map
  2. Zoom, move, or wait
  3. 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.

Activity

  1. added
    Android
    on Jul 8, 2017
  2. tobrun commented on Aug 2, 2017

    @tobrun
    Member

    @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).

  3. kikothemaster commented on Aug 27, 2020

    @kikothemaster

    For anyone with fragment map view not moving, use app:mapbox_renderTextureMode="true" inside MapView in xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions