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.
[android] [bug] UserLocationView Compass Mode and Map Rotation + Accuracy Path too big #4186
While implementing #4137 and #4136, I find two major bugs:
The test sample is crashing when using a high zoom and the accuracy is not precise:
03-03 15:52:10.747 20439-20439/com.mapbox.mapboxsdk.testapp W/OpenGLRenderer: Path too large to be rendered into a texture
03-03 15:52:10.747 20439-20439/com.mapbox.mapboxsdk.testapp W/OpenGLRenderer: Path too large to be rendered into a texture
03-03 15:52:11.357 20439-20439/com.mapbox.mapboxsdk.testapp A/libc: Fatal signal 11 (SIGSEGV) at 0x00000058 (code=1), thread 20439 (pboxsdk.testapp)
Don't know if it is related, but that's the way I always reproduce this crash.
When Map is not facing the North, UserLocationView is not rightly orientated.
I am using Google Maps as reference:
Then, without moving the phone, but changing the map orientation (see the compass view)
Mapbox User Tracking Mode sample pointing the north:
Mapbox User Tracking Mode sample pointing the east:
Mapbox User Tracking Mode sample pointing the south:
Mapbox User Tracking Mode sample pointing the west:
@mayardb thank you for writing this up and adding screenshots. This is super helpful. If I understand correctly this is the last bug to be resolved to get #4137 in? I will try looking at this in the next days.
I think #4137 is over as it covers all the needed functionality. But while I can rotate the map and display the bearing drawable at the same time, #4137 highlights this orientation bug.
Concerning the accuracy crash, we have been thinking about two things:
@mayardb yeah, I wanted to take a look at improving the accuracy circle for some time now in #3078, now that we can zoom even further the problem has only gotten worse until the point it even crashes. FWIW I would like to rewrite UserLocationView from scratch since it has multiple problems with it.
Thank you for sharing that link, that is great information to have! But I wanted to point out that we try to limit our interaction with location improvements as much as possible. Since, in my opinion, should be optimised by Mapzen LOST (the framework we use to get location updates).
Activity
tobrun commentedon Mar 3, 2016
@mayardb thank you for writing this up and adding screenshots. This is super helpful. If I understand correctly this is the last bug to be resolved to get #4137 in? I will try looking at this in the next days.
mayardb commentedon Mar 3, 2016
I think #4137 is over as it covers all the needed functionality. But while I can rotate the map and display the bearing drawable at the same time, #4137 highlights this orientation bug.
Concerning the accuracy crash, we have been thinking about two things:
tobrun commentedon Mar 3, 2016
@mayardb yeah, I wanted to take a look at improving the accuracy circle for some time now in #3078, now that we can zoom even further the problem has only gotten worse until the point it even crashes. FWIW I would like to rewrite
UserLocationViewfrom scratch since it has multiple problems with it.Thank you for sharing that link, that is great information to have! But I wanted to point out that we try to limit our interaction with location improvements as much as possible. Since, in my opinion, should be optimised by Mapzen LOST (the framework we use to get location updates).
tobrun commentedon Jun 21, 2016
Closing for now as non-actionable, the
best estimateis something I will take with me for when we decouple from Mapzen LOST.