I want to do an animatable annotation view on a MKMapView but I'd like the animation to be smooth (not like this) and I'm thinking that CoreAnimation might be the best way of doing that.
I'm currently thinking of creating a subclass of CALayer as my MKAnnotation delegate and animate my coordinate property using CoreAnimation. I can even use this as the layer of the MKAnnotationView, I think.
But this is the limit of my understanding about CoreAnimation as I never changed the hierarchy of layers or went more far than doing some 3d transformations to my views layers.
Do you think this is a good approach to the problem?
Do you have any code that you can share to help get there?
Thank you in advance.
Edit: If you believe there's a better approach to doing this like making the MKAnnotation delegate a subclass of NSObject please tell me also. The goal for me is to smoothly animate a coordinate and I thought of QuartzCore framework for that.