iPhone link to map directions using string "current location" not lat and lng for saddr

Posted by Nick on Stack Overflow See other posts from Stack Overflow or by Nick
Published on 2010-05-14T02:19:40Z Indexed on 2010/05/14 2:24 UTC
Read the original article Hit count: 394

Filed under:
|
|

I know there are numerous questions about how to construct a sharedApplication link to the maps app specifying the start and end address with coordinates. I've got that working no problem.

Has anyone found a way to link with a source address generically specified as "current location".

I ask because the scenario I'm working on having Core Location or a UIMapView would only be necessary in order to determine the user location prior to handing off to the map app where the user locating would seem to just happen again.

I've tried throwing UTF8'd "Current Location" and "[Current Location]" into the saddr parameter which amusingly starts from Current Montana. I've also tried simply excluding the saddr param.

I know this is often tread territory but this particular situation wasn't covered by anything I found searching here or on mapki. Before I add the core location code I just wanted to make sure there wasn't a more limited way to tackle this.

Thanks

© Stack Overflow or respective owner

Related posts about iphone

Related posts about corelocation