views:

168

answers:

3

I have a small application that gives the current location: longitude and latitude. Now I have to browse to google maps with the longitude and latitude. Please suggest how I can do this.

+6  A: 

You can pass the coordinates as query parameters to the standard Google Maps url.

inklesspen
ThanksIt works for me
Deepika
Mind marking it as the answer, then?
inklesspen
+3  A: 

For example:

http://maps.google.com.au/?ll=&lt;latitude&gt;,&lt;longitude&gt;&amp;spn=&lt;degrees high>,<degrees wide>
http://maps.google.com.au/?ll=-15.623037,18.388672&amp;spn=65.61535,79.013672
Cannonade
A: 

i've uploaded some files which inplement this using the mapkit framework.

http://uploading.com/files/d818cafd/MainViewController.h http://uploading.com/files/49bebb3a/MainViewController.m http://uploading.com/files/736647e2/MapLocation.m/

Nithin
answers like this shouldn't get you rep, even if they have in the past. This doesn't answer the question and is largely irrelevant.
Paul McMillan
actually i answered it assuming it to be from iphone, and works for that too, after that only i found that iphone is missing from the tags of the question
Nithin