how to create an animated map marker