iphone web app: open directions in external maps application
Posted
by munchybunch
on Stack Overflow
See other posts from Stack Overflow
or by munchybunch
Published on 2010-05-26T13:35:18Z
Indexed on
2010/05/26
15:51 UTC
Read the original article
Hit count: 232
I've seen the answers for opening the Maps app in a native iPhone app, but is there any way to do this in a web app? I've tried changing window.location to http://maps.google.com/maps?q=cupertino for example, to no avail. I've tried using a simple anchor tag linked to http://maps.google.com/maps?q=cupertino, also to no avail. Has anyone gotten this to work before? I'm working on a map-heavy application, and I'd like to provide users with directions at the end. I figured it would be easiest to simply open it up in the Map application.
Note: I'm currently testing with just the simulator, could that lead to problems? My iPhone is down for the count at the moment.
© Stack Overflow or respective owner