开发者

Creating an Drop Pin MKPinAnnotation supporting dragging like the Drop Pin in Maps App

开发者 https://www.devze.com 2022-12-31 20:09 出处:网络
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 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.


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


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消