In the iOS world, when you click on a Google Maps link, it opens in the native maps app. Let’s just do a quick hypothical. What if those maps links decided not to work anymore. I think the “maps:” href format is a little more future proof. I’ve written some JavaScript (note not jQuery) that changes these links to “maps:” formatting if and only if you are on an iOS device.

iOSifyMaps on GitHub


Leave a Reply

Your email address will not be published. Required fields are marked *