Android Question GMaps refresh markers ... good way

pierrem

Member
Licensed User
Longtime User
Hi,

I'm using a map with somes markers and I need to refresh them periodically.

Because I've not found a way to get the list of the map's marker, I choose to every X minutes to re-initialize the mapFragment, then reload/re-get the map and add the 'new' list of markers.

Is it the best way to proceed ?

Thks for your suggestions
:)
 

pierrem

Member
Licensed User
Longtime User
Ok, thanks.

I proceeded my way because of the call of 'myMapsub' when initializing the MapFragment, that helps to redraw the map.
I'll change my code to do as you suggest
 
Upvote 0
Top