Outdooractive / route-me

Open source map library for iOS
Other
122 stars 400 forks source link

MarkerManager moveMarker? #49

Closed hryamzik closed 12 years ago

hryamzik commented 12 years ago

This project doesn't contain MarkerManager class, so I wonder if there's a smooth way to move markers/annotations.

trasch commented 12 years ago

Do you want to enable dragging on the markers? -> Have a look at RMMapLayer.h and RMMapViewDelegate.h. (i.e. set enableDragging=YES on the layer and implement the delegate methods for marger dragging)

Or do you want to programatically move the markers? -> Set a new coordinate to the appropriate annotation.

hryamzik commented 12 years ago

My bad, already done this by changing annotation coordinates. Thought it should be animated. =)