我已经审查了关于向谷歌地图应用发送用户的 Apple果文件(http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html),我有一个问题,即“我是否自动将用户目前地点的指示带到预定的排位/长地点?
The Apple Docs say to use "saddr=" and "daddr=" for the source and destination respectively, but it doesn t say how to acquire the user s current location. Is there some sort of keyword such as "saddr=Current" or "saddr=Here" that will get the user s location?
显然,这并不奏效:
[app openURL:[NSURL URLWithString:@"http://maps.google.com/maps?saddr=Here&daddr=Chicago"]];
如果我试图将用户送往芝加哥。 任何想法?