Animated Map Markers V2

I checked many questions but no one answered this.

I want to add a google map with animated markers. This means that the sprite renders 3-4 frames and is fixed in place and during movement.

I thought about using AnimationDrawable but it didn't work. The other 2 solutions I have in mind:

1-Use marker.setPosition and marker.setIcon in "loopy handler". Inclined to use this, but for some reason I feel like this is more than murder, especially that I might have 100 markers

2-Add SurfaceView on map and draw bitmaps using Map LocationToPixels function. But it can be cumbersome with gesture movements.

Do you recommend any of the above or even a new solution? Please explain why this is not an opposed answer.

thank

+3
android android-maps-v2 android-drawable


source to share


No one has answered this question yet

See similar questions:

23
Animation of markers on Google Maps V2
23
Moving markers in google map v2 android
6
How to animate google map v2 marker on polyline path?

or similar:

26
Android Animation: Wait Until You're Done?
4
Simulate animation inside custom view on Android
3
Animation with a lot of bitmaps
2
Performing multiple animations without noticeable lag
1
Can't move custom graphics along with map movement using Mapbox Android SDK
1
Storing animation in a static field
0
Canvas, multi-element application, performance issues
0
Frame for camera
0
How to make frame-by-frame animations on Android?
0
Android SurfaceView and Animated Graphics



All Articles
Loading...
X
Show
Funny
Dev
Pics