Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I got a friend who sent me his location via WhatsApp. I am also having the navigation software sygic installed, and it accepts the longitude and latitude to specifiy the location.

For it can I pull the longitude and latitude from google maps and sent them in Sygic?

share|improve this question

migrated from superuser.com Oct 24 '11 at 10:23

This question came from our site for computer enthusiasts and power users.

3 Answers 3

Yes, you can get your coordinates via Maps app. To do that:

  1. Tap on your current location or drop a pin to a location of your choosing and then tap.
  2. Tap on the arrow within the blue circle
  3. Tap on share location, choose email
  4. Send it to yourself.
  5. On the email, there should be a link and a vcard. Both of them include coordinate information, but if you click on the link, Maps app opens and your coordinates will be displayed on the search bar.

And you can input the coordinates into the Sygic app.

share|improve this answer

Copy and paste the following code into your browser address bar:

javascript:void(prompt(”,gApplication.getMap().getCenter()));

share|improve this answer
    
While the question doesn't make it as obvious as it could, the question is about the Google Maps app on iOS, not about the Google Maps website. Consequently, there is no browser address bar, and bookmark lets aren't an option. But this is a good answer to a different problem. –  Daniel Lawson Oct 24 '11 at 22:36
    
See my solution instead –  Pacerier Jan 3 '12 at 15:59

Go a random webpage using Safari (e.g. http://google.com).

Go the address bar, and type javascript:navigator.geolocation.getCurrentPosition(function(p){var c=p.coords;document.write(c.latitude+','+c.longitude);}); (if you see any popups, select OK).

Because Safari is not user-friendly, it doesn't allow you to type certain characters in the address bar. To be able to type javascript:navigator.geolocation.getCurrentPosition(function(p){var c=p.coords;document.write(c.latitude+','+c.longitude);}); in the address bar, you have to:

  1. Open your Messaging app, go to "Write a Message", type javascript:navigator.geolocation.getCurrentPosition(function(p){var c=p.coords;document.write(c.latitude+','+c.longitude);});

  2. Double tap >> Select All >> Copy

  3. Now go back to Safari app and paste what you have copied into the address bar.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.