Posts Tagged ‘scary’

Leaky and verbose URL parameters…

Wednesday, February 18th, 2009

Disclaimer: this post is a rant – turn away now!

I can’t keep quiet about this any longer, its getting me more and more annoyed. Google Maps includes a “Link” function – which creates a link to the current map, which is very useful – particully as the map is estentially ‘ajax’ style, but the parameters are definitly starting to suffer rot and lack of ‘love’ in maintaining them.

For example to just display a simple KML file, you get this corker:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%2Fwww.geograph.org.uk%2Ffeed%2Frecent.kml&g=Any+Street,+London,+UK&ie=UTF8&ll=55.053203,-3.208008&spn=17.762194,33.793945&z=5

There are so many things wrong with this url, its unreal. The first is the source – doesnt do
anything as far as I can see, an empty (but immensely useful) geocode, etc; but somewhat ironically I have HAD to edit the url provided by the function before I was willing to post it here, see that g param – yes that’s my (now made up!) home address.

Yes thats right, if you not careful Google Maps might get you to inadvertently share your home address – seriouslly WTF!

(more…)