1

I'm developing an app that displays in a gmap animated icon markers (gifs). I have made it work on the Windows environment with "icon" and "optimized" options of the Marker, but it doesn't load properly (not even then image).

I have read here Problem with Animated gif on Android that Android doesn't handle properly gifs. Is there any way of using a gif as google marker in Android?

Thanks, xavi

Community
  • 1
  • 1
xavi
  • 147
  • 9

1 Answers1

2

If you check the Google Maps Android API, you cannot find any documentation about GIF as marker. So the alternative way is to use animation on marker.

Here is a tutorial on how to use animation on marker, it implements a bouncing marker for the Google Maps Android API v2. It also contains a YT video that shows how the marker move in your device.

For more information about animation in markers, check this SO question:

Community
  • 1
  • 1
KENdi
  • 7,576
  • 2
  • 16
  • 31