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 layer stops updating after user interaction #6031
On Oneplus 2, android 5.1.1 map layer stops updating after user pans or zooms. Only markers are updated based on user interaction. Also occasionally map layer is not displayed at all i.e. only black screen is displayed with markers on top of it.
The issue can be reproduced using the Mapbox Dev Preview app found on Google Play.
Thanks for reporting this, were you able to reproduce this issue on any device besides the Oneplus 2? I'm seeing two issues here, one with the markers becoming unattached from the mapview like you demonstrate in the gif. The other issue being that sometimes the map style doesn't load in correctly, is this also reproducible in the demo app? Also was this an issue introduces in 4.2.0-beta1 or has it always been an issue? If you're unsure, switching to a lower SDK version such as 4.1.1 and testing will help out tremendously!
I got exactly the same issue : I have a map in a bottomsheet, which is in textureMode because of visual glitches when I drag the bottomsheet, and if I collapse the bottomsheet and expand it back, the map is totally frozen, not responding to user interaction, but MarkersViews are moving okay.
Finally the map is only working correctly on the first display.
I retrieved these logs when it happens :
01-18 14:49:19.297 15642-17390/fr.xpdigit.apptourism E/BufferQueueProducer: [SurfaceTexture-0-15642-2] dequeueBuffer: BufferQueue has no connected producer
[ 01-18 14:49:19.297 15642:17390 D/ ]
NULL == surf->write_back_color_buffer
01-18 14:49:19.300 15642-17390/fr.xpdigit.apptourism E/BufferQueueProducer: [SurfaceTexture-0-15642-2] dequeueBuffer: BufferQueue has no connected producer
[ 01-18 14:49:19.301 15642:17390 D/ ]
I am using the last MapBox Android SDK Version (5.3.1) and I reproduced the issue on multiple devices : Samsung A3 (2016) SM-1310F on Android 7.0, Samsung S7 on Android 7.0, Moto E on Android 4.4.4, Nexus 5 on Android 6.0.1. But the issue is not reproduced on the Nexus 5X on Android 8.0.
I hope that it will help you to resolve this issue guys.
Activity
zugaldia commentedon Aug 17, 2016
/cc: @cammace
cammace commentedon Aug 22, 2016
Thanks for reporting this, were you able to reproduce this issue on any device besides the Oneplus 2? I'm seeing two issues here, one with the markers becoming unattached from the mapview like you demonstrate in the gif. The other issue being that sometimes the map style doesn't load in correctly, is this also reproducible in the demo app? Also was this an issue introduces in
4.2.0-beta1or has it always been an issue? If you're unsure, switching to a lower SDK version such as4.1.1and testing will help out tremendously!mikkoto commentedon Aug 23, 2016
I just tested this with couple of development devices we have around. I couldn't reproduce this using any of the following:
Also I haven't seen this behaviour with older Mapbox (e.g. 4.1.1.) when testing our own app with Oneplus 2.
The other issue of map style not loading can also be reproduced using the demo. See attached gif.

zugaldia commentedon Sep 19, 2016
Assigning @ivovandongen to help reproducing the issue.
langsmith commentedon Mar 8, 2017
I tested using 5.0-beta.2 and was unable to reproduce this problem on my OnePlus 3. The markers appear to stay attached to the mapview.
HappyDr0id commentedon Jan 18, 2018
I got exactly the same issue : I have a map in a bottomsheet, which is in textureMode because of visual glitches when I drag the bottomsheet, and if I collapse the bottomsheet and expand it back, the map is totally frozen, not responding to user interaction, but MarkersViews are moving okay.
Finally the map is only working correctly on the first display.
I retrieved these logs when it happens :
I am using the last MapBox Android SDK Version (5.3.1) and I reproduced the issue on multiple devices : Samsung A3 (2016) SM-1310F on Android 7.0, Samsung S7 on Android 7.0, Moto E on Android 4.4.4, Nexus 5 on Android 6.0.1. But the issue is not reproduced on the Nexus 5X on Android 8.0.
I hope that it will help you to resolve this issue guys.