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.
MarkerView scroll when scroll,zoom map. Can not scroll, zoom map in Sony device #9441
Thanks for the snippet and device information. We've seen this issue before on a select number of devices but never have been able to reproduce it. In this case, it looks like you are just using the default marker view. In that case, you would be better off using MarkerOptions() rather than MarkerViewOptions() to create the marker on the map.
@cammace Thank you for your suggestion. In this Sony device, the polyline also have problem (some time it not visible). And also without Marker, MarkerView and Polyline, the map still have bug when scroll, zoom in, zoom out. I know it hard for MapBox because you can not reproduce it but if possible can you give me some suggestion to me for checking inside MapBox code to figure the problem.
This bug not happened with MapBox 2.7
Sony devices 11,8,9,15,1,2,8,9,4,8,9,8,9,8,9,8,9,8,9,8,9,8,10,13,6,8,10
Normal working devices 11,8,9,15,1,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,2,8,9,4,8,9,8,9,8,9,8,9,8,9,8,9,8,10,13,6,8,10,0,3,0,3,8,10,0,3,0,3,8,10,0,3,8,10,8,10,0
I notice that in Sony devices, REGION_WILL_CHANGE (0) never return
@cammace@tobrun@Guardiola31337 : Any updated status on this issue? I got android Mapbox demo from GooglePlay and any map just zoomed-in 3 times before getting freeze. :(
@tobrun Sorry for missing info, the device is same as @PhanVanLinh SO-03H .
Please help to review @GianhTran comment #8030#8030 (comment). We temporary fix it, but please suggest us about performance after this change.
MarkerView is going to be deprecated with #9782. We are no longer maintaining this API and will remove it in future versions of the SDK. As noted in the deprecation message. We are advising users to leverage SymbolLayer instead (you can use the sample code in #9782 to convert Android SDK views to an Image to be used as a Symbol). While we no longer maintain the API we are happy to accept any PRs on it.
Original post can be found in the Mapbox Android Demo app by @PhanVanLinh
Here is my demo code
Device Sony
Model: SO-03H
Android version: 5.1.1
Baseband version: 8994-FAAAANAZQ-00029-06
Kernel version: 3.10.49-perf-g9468d07
I have test and it happened on both MapBox 4x and 5x