Map marker animation display (Google Maps API V2 for Android)

In a custom event, I need to Markerupdate it 6 times (basically, I want it to Markerincrease and contract 3 times with a delay of 0.5 s between each growth and each reduction), so it notifies the user about this event.

Is there a way to achieve this without actually deleting Markerand adding it again using another Drawable?

+1
source share
2 answers

I am afraid that today there is no way to do this without actually removing the marker and adding it again using another drawable. I just did it myself, trying to create an indicator of progress. It works, but it is an inconvenient way to do it.

Click here for a good explanation in another thread.

+1
source

The token has a new feature added in API v2 version 7. Marker.setIcon . Enjoy the animation.

+10
source

Source: https://habr.com/ru/post/1615595/


All Articles