Marker does not implement Parcelable, Serializable interfaces, but i need to persist it between Activity onPause/onResume, so how can i persist it? How can i get all current Markers list (can’t find getMarkers() method anywhere)?
Imagine the next case: i have added Marker and started AsyncTask to perform long-running task and update view for the Marker. Task is in progress and i change orientation, activity is recreated. How can i update that Marker after Task is finished? Let’s imagine i can persist id of the Marker and Markers are saved by fragment automatically (just imagine), then how can i find it using id after activity is recreated?
it seems that there is no way to do this now: http://code.google.com/p/gmaps-api-issues/issues/detail?id=4650