понедельник, апреля 29, 2013

Creating Better URL's for Google Maps


NiceMapUrls is an interesting experiment to create a nice url for a google map location or address. The approach used in the map works in a hierarchical manner, starting from the country and ending with a street name and house number, e.g.

united-states/california/san-francisco/noe-valley/valencia-street/1026

My limited testing of the map suggests that this approach works really well in the United States and many other English language speaking countries. There is a good discussion on Hacker News however about the map and the problems with this approach when place names have non-latin characters or in countries where postal addresses are not so easily defined.

If you want to look at the code behind the app you can check it out on GitHub.

1 комментарий:

barryhunter комментирует...

Google have already tried it, back in 2009

https://maps.google.com/places/united-states/california/san-francisco/noe-valley/valencia-street/1026

not sure why they abandoned it. Not really as clean as it first appears

http://www.jasonbirch.com/nodes/2009/09/24/365/google-place-pages-indexable-not-really/