mrmason
mrmason

Reputation: 119

SImple Google Map Directions Link

Ok I'm playing around with a link which once clicked I'd like it to divert the phone from the wepapp to google maps or an online version. each location of the will be different dependent on what the MySQL states so the coding will be something like this:

 <a href="https://maps.google.co.uk/maps?hl={QTE.business_address},{QTE.business_postcode}" target="_blank" style="color:#999">

As you can see {QTE.business_address} Brings the address and {QTE.business_postcode} The Postcode, now what kind of link can I add to propogate these details onto a map in a mobile browser or even better Gmap App?

Upvotes: 1

Views: 1992

Answers (1)

Dr.Molle
Dr.Molle

Reputation: 117334

You find here a (inofficial) description of the parameters: http://www.seomoz.org/ugc/everything-you-never-wanted-to-know-about-google-maps-parameters

So the parameter has to be q instead of hl

Example: https://maps.google.co.uk/maps?q=Berlin,%20Alexanderplatz%201,10178

Upvotes: 3

Related Questions