Organizational Research By

Surprising Reserch Topic

how to invoke iphone maps for directions with current location as start address


how to invoke iphone maps for directions with current location as start address  using -'iphone,ios,maps'

I know it's possible to start the iPhone maps application by calling openURL on a google maps URL with parameters saddr and daddr with location strings or Lat/Long (see example below).

But I'm wondering if it's possible to make the start address be the "Current Location" maps bookmark so that I can use the Maps app's location handling code. My Google search has been pretty fruitless.

For example:

[[UIApplication sharedApplication] openURL:
    [NSURL URLWithString:
        [NSString stringWithFormat: @"http://maps.google.com/maps?saddr=%@&daddr=%@",
                                    myLatLong,
                                    latlong]]];


Except with something to invoke the current location bookmark in place of myLatLong.
    

asked Sep 29, 2015 by ukohale
0 votes
22 views



Related Hot Questions

13 Answers

0 votes
NULL
answered Sep 29, 2015 by dhananjayksharma
0 votes
NULL
answered Sep 29, 2015 by suyesh.lokhande
0 votes
NULL
answered Sep 29, 2015 by badhwar.rohit
0 votes
NULL
answered Sep 29, 2015 by rajeevr642
0 votes
NULL
answered Sep 29, 2015 by r3tt
0 votes
NULL
answered Sep 29, 2015 by manju bhargava
0 votes
NULL
answered Sep 29, 2015 by deven.bendale
0 votes
NULL
answered Sep 29, 2015 by ashish singh
0 votes
NULL
answered Sep 29, 2015 by 20shahi
0 votes
NULL
answered Sep 29, 2015 by ankitarajoria4
0 votes
NULL
answered Sep 29, 2015 by patilkiran.101
0 votes
NULL
answered Sep 29, 2015 by amit.gupta
0 votes
NULL
answered Sep 29, 2015 by thiru

...