Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a link format for physical street address?

Mobile devices have started to do link detection fairly well. They now detect links, email address, phone numbers and physical street addresses.

The problem is that link detection is not 100% correct. So to be more explicit, for most of these, we can use a link.

<a href="tel:+1-408-555-5555">1-408-555-5555</a>

Is there an equivalent link format for a physical street address?

like image 989
Simon Avatar asked Jun 27 '12 01:06

Simon


1 Answers

There doesn't seem to be one defined, according to the IANA. Here is a discussion about creating one, but it doesn't seem it ever went anywhere. The closest I can find is geo, which is just latitude and longitude, not a postal address. I see from the update that you want to display a map, so what you want is to geocode the address to get a geo URI. You could use Google's API but I don't know if there is any need for the geo URI at that point.

like image 122
John Watts Avatar answered Oct 04 '22 21:10

John Watts