Change 'MapAnimation' to 'AnimationType'.