How do I get smooth animation of my custom annotation on the mapView ios?
In my application, I am showing a user annotation (custom annotation from user thumbnails) on a map. Whenever the User changes location or moves the user, I also change my annotation position to match the user's location, but right now it flashes when I add and remove annotation on the map. I want a smooth animation of my annotation whenever the user moves. How can I achieve this.
I need to remove and add annotations every time. but removing and adding annotations is not a good approach, it creates a blinking effect when the user moves or drives.
Plzz can help solve this problem.
+3
source to share