0
我用下面的代碼來發動Google Maps
從我目前的位置顯示步步導航到特定位置:啓動谷歌地圖以「我的位置」爲出發點標籤
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"comgooglemaps://?daddr=%f,%f&saddr=%f,%f",destLocation.coordinate.latitude, destLocation.coordinate.longitude,_currentLocation.coordinate.latitude,_currentLocation.coordinate.longitude]];
然而
,當Google Maps
應用程序打開後,它會顯示例如「Howard Street」作爲起點標籤,這是正確的,但我怎樣才能讓Google Maps
應用程序顯示「我的位置」標籤而不是街道名稱標籤作爲起點?
p.s.如果用戶點擊座標,則可以顯示「我的位置」標籤,然後從Google Maps
中選擇「我的位置」作爲起點,但我希望代表用戶完成此行爲。