Need new method for linking to native mapping from mobile web app
Posted
by
Carter
on Stack Overflow
See other posts from Stack Overflow
or by Carter
Published on 2012-09-20T03:34:41Z
Indexed on
2012/09/20
3:37 UTC
Read the original article
Hit count: 176
My mobile web apps use a map button which automatically starts the mapping features of Android and iPhone by simply linking to http://maps.google.com/maps?q=New+York. iOs 6 comes out, the links stop working, because Apple wants us to use "maps.APPLE.com". Turns out ANYTHING you send to "maps.apple.com" gets forwarded to "maps.google.com". So now I have to specially detect iOs 6 and swap out links just so Apple can forward everything back to Google anyway.
Is there a clean way to open the device/native mapping app from a mobile web app that works on Android, iOs 6, and iOs pre-6, since iOs 6 nerfed it?
Recently updated documentation on Apple dev site... http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html#//apple_ref/doc/uid/TP40007894-SW1
Both these links go to the same place
© Stack Overflow or respective owner