Marker Icon in google maps android api v2 is a static image and you cannot change the icon once you have created the marker. So if you are trying to include any animation using GIF images, it will not be supported and only a single image from the GIF will be shown as the icon.
An option to achieve changing marker image is to programatically remove()
the marker after a certain time and then immediately add the marker using addMarker
with a different image set as icon in MarkerOptions()
and retaining other properties.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…