Added an option to set the animation property on a map marker.