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.
Markers don't show up intil map is zoomed or op is delayed #2095
There's a problem in Android where Markers don't show up until i zoom the map. It does work if i add markers with a timer Handler with 1 sec delay to it.
I execute an AsyncTask in onResume which gets markers data an then i add them in onPostExecute and the markers will not show up.If i add them inside a:
new Handler().postDelayed(
new Runnable() {
public void run() {
}
}, 1000);
block, then they will show up. Also if i zoom down one level.
Activity
ljbade commentedon Aug 17, 2015
Hmm sounds like the map isn't redrawing?
Do you have an example of how you are adding the markers?
erf commentedon Aug 18, 2015
I execute an AsyncTask in onResume which gets markers data an then i add them in onPostExecute and the markers will not show up.If i add them inside a:
new Handler().postDelayed( new Runnable() { public void run() { } }, 1000);block, then they will show up. Also if i zoom down one level.
erf commentedon Aug 18, 2015
*Get's markers data from a http rest service
erf commentedon Aug 18, 2015
https://github.com/erf/mapbox-gl-native/tree/annotation-not-showing
incanus commentedon Sep 1, 2015
@erf Is this the same as #1675?
erf commentedon Sep 2, 2015
Yes i would guess so. Close this?
Rewrite annotation invalidation strategy