The marker icon in google maps android api v2 is a static image, and you cannot change the icon after creating the marker. Therefore, if you try to include any animation using GIF images, it will not be supported, and only one GIF image will be displayed as an icon.
The option to achieve changing the marker image is to programmatically remove()
marker after a certain time, and then immediately add the marker using addMarker
with another image set as an icon in MarkerOptions()
and saving other properties.
source share