-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Point annotations disappear at low zoomlevels #5109
Comments
These are GL point annotations, by the way. |
Discussed internally with @tobrun @cammace today and this issue is a blocker for Android 4.1.0 FINAL release. /cc @mapbox/mobile @jfirebaugh @kkaefer @tmpsantos @brunoabinader |
On it. |
Awesome. Thanks @tmpsantos @ansis! |
@tmpsantos Any idea what about 4c62a55 is causing the issue? (Let's assume that @ansis is focused on schoolwork.) |
@jfirebaugh I'm investigating but seems to me some integer overflow or float to integer conversion making it full transparent. I was initially comparing to the code on JS trying to find anything wrong with the ported code but it seems fine. |
… the first frame On the Javascript implementation the array is automatically filled with zeroes which is not the same thing as `TimePoint::min()`. Here we need to get our own "zero" which is the timestamp of the first frame. Fixes #5109
@tmpsantos I just tested your fix in #5175 and can confirm that it solves this issue. Both markers (C and A) were visible at all zoom levels as well as when cycled on / off using the FAB (see screenshots below). I'm going to merge #5175 into |
… the first frame On the Javascript implementation the array is automatically filled with zeroes which is not the same thing as `TimePoint::min()`. Here we need to get our own "zero" which is the timestamp of the first frame. Fixes #5109
When you zoom out, point annotations disappears. Zooming back in restores them.
This was noticed on Android and was validated for iOS by @1ec5 with 3.3.0-alpha.3
The text was updated successfully, but these errors were encountered: