-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Android] Markers blink on zoom change #6762
Comments
Hey, Is there any progress with this issue? I've just used 4.2.0-beta4 and it still appears. With few Markers UX is really bad (when I'm showing 10-20 almost everything on the screen is blinking). Are you able to reproduce it easily? |
Hey @mpuchala, could you clarify whether you are using GL Markers or view based markers? Also does this issue occur when you are using just the default markers found in the SDK? |
Hey, Here are examples from Dev Preview: https://www.dropbox.com/s/ptckispqoc077np/map_blink_2.mp4?dl=0 I'm using GL Markers, there is a default icon and it's easy to find out same problem. It seems to blink when other elements like labels, icons, etc. are changing. As I mentioned before it also occurs when I'm changing an icon (all markers are disappearing for a moment) - it isn't an issue on 4.1.0 SDK version. |
You can try switching to marker views which shouldn't have any flickering issue. I've been able to reproduce in the test app with many markers: Any idea what is happening here @ivovandongen? |
Hey, Thanks for reply. My problem with MarkerViews is performance. I tried to use ~200 of them and app almost haven't responded. IMHO it's not only about amount (GL Markers) but for sure it's easier to notice this behaviour then - in example I've attached there is only one icon. Markers seem to disappear for a while when other map components like labels are being changed (and also only one marker icon I mentioned above). We're using at least 1000-2000 markers so probably MarkerViews aren't suitable in our case - I've tested them with only one icon and result wasn't promising. I use them (MV) when I have few points and it works like a charm in that cases. |
Have seen multiple reports on this, going to try pinpointing the cause of this. |
a git bisects indicates this is coming from 41bbd4e. I'm thinking it will be related to the geometry_tile_worker? Any tips on how to proceed on this @jfirebaugh? |
Do you have a test case? |
It's reproducible with the |
Has any progress been made on this issue in the last 3 months? This is a pretty problematic bug in terms of user experience, so I can't actually use any 4.2.x version on my app. |
Going to add this to next milestone to look into more. |
@tobrun |
@PhanVanLinh If you would like to find differences please take a look on examples and API: MarkerViews are much more flexible, however you have to prepare adapter for them (there is no need like that for Markers). According to my experience Markers are much more faster than MarkerViews (at least there were when I was compering them some time ago). I'm not a MapBox team member so maybe sth has changed and I haven't noticed, but I think it's not the best place to discuss about them - it's off topic and this issue is about something else. |
@mpuchala Thank you so much for your explain. I will read the API. if you don't mind. can you share me your email then we can discuss in another place. my email is: phanvanlinh.94vn@gmail.com. I will remove this comment after your response. I saved your answer and if you want you can delete your comment. Again thank you so much |
Just in addition, I am able to see some flickering by just playing with the zoom in the MapBox demo app (v5.1.3) in the Annotations/Draw a marker Activity. |
Yeah, weird story :x (5.2.0-SNAPSHOT) |
5.2.0 still has this issue. This happens when layers change while zooming. For some reason there is a frame, on which new layers are already drawn, but layer with markers is not visible. The markers appear only on the next frame. |
This behaviour is fixed on master and is planned to be released as part of the upcoming 6.0.0 release. |
Platform: Android
Mapbox SDK version: 4.2.0 Snapshot
Steps to trigger behavior
Actual behavior
It is also about the map. When I'm zooming in/out map and markers sometimes blink. It wasn't a problem on 4.1.0 now it occurs even on simple map. I've noticed similar behavior when I'm updating icon (in only one marker).
Here is a video:
https://www.dropbox.com/s/ok27ba09nty0sha/map_blink.mp4?dl=0
The text was updated successfully, but these errors were encountered: