GoogleMaps GroundOverlay is blinking my images

I use GoogleMaps in my Android application and I want to display an animated image of the radar on the map.
I have an array of 6 raster images. When the user clicks on playback, the map moves through the display of each of these images on the map.

This works, but when switching between images, if I do not call GoogleMap.clear() , the images just constantly stack on top of each other.
If I call GoogleMap.clear() , I get a terrible blink. I want one image to remain on the map until the next one is displayed.
Is there a good way to do this?

Perhaps there is a double buffering option for GoogleMaps?

+7
android google-maps bitmap
source share
1 answer

Oh, actually what I ended up with is expanding the GoogleMap class and overriding the onDraw function to my liking.

0
source share

All Articles