tags:

views:

36

answers:

0

Hi,

How do I make ItemizedOverlay animations on a MapView.

After some searching it seems AnimationDrawable is the right way to go, but the following code only show the first frame, what else I need to do?

AnimationDrawable animation = (AnimationDrawable)getResources().getDrawable(R.anim.animation); ItemizedOverlay overlay = new ItemizedOverlay(this, animation); ... ... animation.start();

Thanks,