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.
attached you will find a short video, which shows the bug i have identified in the latest stable mapbox version. I used the Demo App. When I zoom out quickly some marker disappear. When i pan the map again the markers appear again. Is this a normal behavior? I have in my app round about 400 markers. Most of them disappear when zooming fast in/out and appear again when i pan the map.
normally those markers should re show after a maximum of 250 ms (this is what I'm observing in the MarkerViewActivity) Though these are shown at a high zoomlevel, I'm guessing this issue only shows at low zoomlevel as we probably aren't hitting the correct map change events for triggering an update to MarkerViews.
In any case, I would advice you to look into using SymbolLayer instead. We will be deprecating support for MarkerViews in an upcoming release. See #9365.
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.
Activity
tobrun commentedon Jul 14, 2017
Thank you for the report @mrfaa,
adding context here that the marker shown in the gif are MarkerViews.
tobrun commentedon Jul 24, 2017
normally those markers should re show after a maximum of 250 ms (this is what I'm observing in the MarkerViewActivity) Though these are shown at a high zoomlevel, I'm guessing this issue only shows at low zoomlevel as we probably aren't hitting the correct map change events for triggering an update to MarkerViews.
tobrun commentedon Jul 24, 2017
In any case, I would advice you to look into using SymbolLayer instead. We will be deprecating support for MarkerViews in an upcoming release. See #9365.
tobrun commentedon Sep 27, 2017
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.