Issue
I've been checking out Hello MapView at this link, but it has been down for a couple of days now, so I will ask my question here:
I have added an overlayitem that looks like a marker. I would like to move the marker based on my updated position. Is there any way to target an existing marker and update the position, or do I need to remove it and redraw it?
Thanks
Solution
You can remove and redraw in onLocationChanged() function, but the more efficient way is to use MyLocationOverlay as shown in this example.
Answered By - Hesham Saeed
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.