On a custom event, I need my Marker
to update its drawable 6 times (basically, I want the Marker
to grow and shrink 3 times with a delay of 0.5 s between each growth and each shrink) so it notifies the user of said event.
Is there any way to achieve this without actually having to remove the Marker
and adding it again with a different Drawable
?
I'm afraid there is no way to do it today without actually removing the marker and adding it again with another drawable. I have just done so myself in an attempt to create a progress bar. It works, but it is an awkward way of doing it.
Click here for a good explanation in another thread.
Marker has a new function added as of rev.7 of API v2. Marker.setIcon. Have fun animating.