Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open iOS 6 maps from a mobile website?

I have a mobile website that I've had a link to open Google maps app from within my website. Now however with the new version of ios6, the native version of google maps is no more and now the link opens to a safari based google maps. I'd rather have this open in a native Apple maps app. How can I do this?

Thanks for all help!

like image 860
Muhambi Avatar asked Sep 20 '12 02:09

Muhambi


People also ask

How do I change the default map app in iOS?

On the Settings screen, tap the Default apps option. Under the Navigate from your location and the Navigate between location sections, tap to select Google Maps.

Does Google Maps work on iPhone 6?

Use Google Maps on your Apple iPhone 6s iOS 12.0You can use Google Maps on your phone. To use Google Maps, you need to set up your phone for internet and install Google Maps.


1 Answers

Instead of using the previous Google domain maps.google.com you use maps.apple.com. This will remain compatible with older devices running 5.x and below.

It looks like this:

http://maps.apple.com/maps?q=cupertino

Most of the parameters are the same, but see the Apple docs for more details:

Apple URL Scheme Reference: Map Links

like image 153
brynbodayle Avatar answered Oct 07 '22 19:10

brynbodayle