title: How to make a mutable ItemizedOverlay
body: <p>I would like to make a Google map overlay with changable pins. An easy way to visualize this would be to think of a near real time overlay, where the pins are constantly changing location. </p>
  
  <p>However, I can't seem to think of a safe way to do this with the <a href="http://code.google.com/android/add-ons/google-apis/reference/index.html?com/google/android/maps/package-tree.html" rel="nofollow noreferrer">ItemizedOverlay</a>. The problem seems to be the call to populate - If size() is called by some maps thread, and then my data changes, then the result when the maps call accesses getItem() can be an IndexOutOfBoundsException. </p>
  
  <p>Can anyone think of a better solution than overloading populate and wrapping super.populate in a synchronized block? </p>
  
  <p>Perhaps I could get better luck using a normal Overlay? The Itemized one seems to exist to manage the data for you, perhaps I am making a fundamental mistake by using it?</p>
  
  <p>Thanks for any help, my brain is hurting!</p>
  
  <p>Hamy</p>