I would like to create an iPhone app that can open the google maps app and place a pin on the map.
I have the exact location of the pin, specified by its longitude and latitude. I also have a name for the pin e.g. 'location 1' that should be displayed along with the pin.
I know that UIApplication:openURL can be used for this but I don't know the exact url format.
So, is there a way to do what I described above? If, yes, what is the correct url format?
You can use a URL of the format: http://maps.google.com/maps?q=Your+Location+name@latitude,longitude
http://maps.google.com/[email protected],-87.6315
You can drop up to 100 pins using KML. There is an example of this on http://appsamuck.com look at the example for day 8 (http://appsamuck.com/day8.html)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With