title: Add animation as Marker google maps android
body: <p>I wanted to add an animation as the "current marker selected" in my map as shown below:</p>
  
  <p><a href="https://i.stack.imgur.com/ZzVXk.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZzVXk.gif" alt="enter image description here"></a></p>
  
  <p>The animation is a LottieAnimation resource (extends from ImageView).</p>
  
  <p>I had been searching and google maps developer docs said that I can only use Bitmap resources as markers. I tried to convert this one as a bitmap but without success.</p>
  
  <p>Uber or Lyft has some animations as markers or for current position, so how they achieve this?</p>
  
  <p>Or is it possible that they are listening to the map movement and update the location of their marker without using the marker property?</p>