I'm adding some annotations into a MapView object (6 annotations). They are changing their position every 6 seconds. At this moment I'm removing and adding each annotation on every change. Is there any way to move an annotation instead of removing and adding it again?
This is causing some kind of flash with the map object.
I'm thinking that moving (removing/adding) 6 map annotation every 6 seconds is causing the redraw of those tiles. If there is a finite number of positions that those annotations are going to appear, then it may be better to load all your annotations, then hide and show them as necessary.
In this case, we don't know how many points do we have, because it's representing a car in movement. We found how to move each annotation, but the problem we have is that the new position is not being updated on the map, until a zoom action is made.
Do you know how to refresh the map without flashing? Thanks, Ariel
I'm moving the annotations thru the latitude and longitude parameters
Think you can help? Login to answer this question!