2

I wonder if it's possible to create an MKPinAnnotation in a Custom MKMapView, which answers to touch and drag just like the "Drop Pin" annotation in the Maps App.

I would like a way to drop a pin at a location given by the GPS. Then let the user fine tune the exact location by touching the Pin and dragging it right, if the GPS is a bit too inaccurate.

Any help is appreciated, or information if this is impossible with allowed SDKs.

Costique
  • 23,712
  • 4
  • 76
  • 79
jollyCocoa
  • 691
  • 7
  • 20

2 Answers2

7

You can check out my project: http://github.com/digdog/MapKitDragAndDrop, it runs on OS 3.1 or later.

digdog
  • 4,198
  • 1
  • 26
  • 23
4

This may help too, if you just want to see how to do it with 4.0: (iPhone) how to implement draggable pins using OS 4.0 MapKit?

Community
  • 1
  • 1
WoodenKitty
  • 6,521
  • 8
  • 53
  • 73