Re: [問題] 關於 MAP 一問
※ 引述《season5566 (SEASON)》之銘言:
: 各位好! 順便再問問,
: 如果想要做路徑規劃的話..
: 該怎麼做?
: 目前看到的APP好像有兩種方式呈現
: 一種會離開程式然後用內建地圖軟體來開..
iOS 5:
NSString* URLString = @"https://maps.google.com/maps?q=cupertino"
iOS 6
NSString* URLString = @"http://maps.apple.com/maps?q=cupertino"
NSURL* URL = [NSURL URLWithString:URLString];
[[UIApplication sharedApplication] openURL:URL];
: 這該怎麼把資料傳給內建軟體去規劃呢?
: 另外一種好像可以直接在mapview畫出來
MKMapView
http://lmgtfy.com/?q=mkmapview
: 這是怎麼做的? 想辦法接google map的API嗎?
: 謝謝..!
: ※ 引述《ksksBangBang (Bang!)》之銘言:
: : MKAnnotationView* annotationView = ...
: : annotationView.rightCalloutAccessoryView =
: : [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
: : // add target, etc.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 199.2.242.199
推
10/19 12:25, , 1F
10/19 12:25, 1F
討論串 (同標題文章)