The geo: URI scheme doesn't seem to work for me on the iphone safari browser. Has anyone had any luck implementing this? Here is an example piece of code:
<a href="geo:39.555551,-82.814171;">Test</a>
The above works on android phones... are there any alternatives to this? Thanks for the help!
The geo:
scheme, being relatively new, isn't supported by any builtin apps on iOS. (It's a good idea for a feature request, though.)
One alternative (supported all the way back to iPhone OS 1.0) is to use a Google Maps URL. For example: http://maps.google.com/maps?ll=37.331044,-122.029202 -- this will get automatically redirected to the Maps application. (I dunno if or how this might change with the forthcoming non-Google-backed Maps in iOS 6, though.)
It's also possible to register a third-party app to handle URL schemes not used by system apps, so you could create your own geo
handler if that's useful to you.
On my iPhone (ios6), the google earth app opens the geo: link. For native google maps app support, I use the comgooglemaps: scheme, and apple maps will open if you click a 'normal' http://maps.apple.com/ link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With