100grams / Moving-MKAnnotationView

An implementation of a moving map annotation using iOS MapKit and QuartzCore.
146 stars 40 forks source link

Weird behavior when user changes the map region #4

Open ghost opened 11 years ago

ghost commented 11 years ago

When the map region changes, the "moving" pin is dragged with the slide and then returns to its place to continue moving... any ideas how to fix the pin when the user changes the region of the map? Thanks!

milanrathod87 commented 10 years ago

Hi gpiano, I have same problem. Did you find any solution ?

Thanks Milan

ghost commented 10 years ago

Nop... seems that is not being maintained :(

milanrathod87 commented 10 years ago

I found the solution for that. Are you using setposition method ?

Anyway you need have to check that map is decelerating or not. At time of mat decelerating you need have to stop animation or remove animation for that particular key. You need have to use post notification to perform such operation.

Please let me know if you want more help from my side.

Thanks -Milan