?
Solved

Launch iPhone Maps App from link on website

Posted on 2011-09-26
2
Medium Priority
?
492 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
[X]
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
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 2000 total points
ID: 36601726
0

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

800 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