jQuery Mobile button to open directions in Apple Maps -


I have a jQuery mobile web application, I would like to open directions from X to Y in the web version of Apple Maps in every device Can be available, is it possible?

If so, how can I create a button to link to guidelines?

Thank you.

Explained how to open accessories in the Maps app. This is what you are looking for:

The following example shows the string used in Safari and in a map app in a native app to show the map of Captaino, California City. Are there.

  & lt; A href = "http://maps.apple.com/?q=cupertino" & gt; Curttoño & lt; / A & gt;   

For Android devices: Apple Maps is definitely not working here, clicking on the above link will take the website as usual.

Edit

I have made a small following link always opening an Apple map on both my iPhone (IOS 7) and iPad (iOS 7) And it will also open Apple Maps on OSX Mavericks.

  & lt; A href = "map: //maps.apple.com/?q=cupertino">    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -