0

I have an address stored in a php variable (say $add). I am trying to create a link in my Web App, which when clicked will open the Google Maps App in the iPhone with the $add marked. I don't want to embed the map in the web app.

Can anyone give a few pointers how to go about it?

j08691
  • 204,283
  • 31
  • 260
  • 272

2 Answers2

1

Just link to http://maps.google.com/maps?q=<?=$add?> this should open the maps app on iPhone by default (and android incidentally)

Thomas Clayson
  • 29,657
  • 26
  • 147
  • 224
0

You can send the data over url parameters:

Check info here:

Google Map Parameters

Enrique Benitez
  • 649
  • 2
  • 13
  • 28