From a website viewed in an iPhone, I want to make an an anchor tag that, when clicked, will take the user to a map at an address.
If the iPhone as Google Maps installed, I think it would be ideal to take them to the Google Maps. If Google Maps is not installed, it might be better to take the user to the Apple Maps app, rather than the Google Maps web site.
What's the best way to accomplish this? Can we query whether Google Maps app is installed from JavaScript running in an iOS web site?
Aucun commentaire:
Enregistrer un commentaire