Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Launch iPhone Maps App from link on website

Posted on 2011-09-26
2
474 Views
Last Modified: 2012-05-12
I am creating a webpage that contains several street addresses. If a viewer wants to get driving directions, they'll click on the link and will be directed to either Google Maps, Mapquest, or Rand McNally's website.

Two things I need is that when they click on the link and takes them to the driving directions page, the driving directions page contains the specific address.  

The second is at the same time, if a user is viewing the page from an iPhone or iPad, how do I automatically launch the Maps App, from the same link, that it too will contain the specific address?  Can this be done, and if so, how?

Thank you for your suggestions and assistance.
0
Comment
Question by:arendt73
2 Comments
 
LVL 4

Expert Comment

by:mustang83
ID: 36600780
I'd say you cannot create a link to google maps which populated just the travel to location.

what you could do on your website is create a form which asks for there postcode. Then will a little bit of JavaScript you can generate the correct URL which populates the travel from location with their postcode.

to get the location URL go to google maps and go through the process of generating the directions, once there generated copy the URL. you should see where your JavaScript should place the postcode.

in regards to the iPad/iPhone link to maps app, it does it automatically. you cannot do anything in HTML that tells a device to open maps app.

hope this helps,
0
 
LVL 3

Accepted Solution

by:
anjos earned 500 total points
ID: 36601726
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question