Google maps tabbed windows

Sep 4, 2006

For the new map view at worldinpictures.org1, I needed to support the situation where the search results contain several images taken at the same point. The obvious soltuion was to take advantage of the tabbed info windows provided by Google Maps ("info windows" are the pop-ups that display when you click on a map marker).

Unfortunately the tabs are quite wide so if you want a lot of tabs (and I could need 12) you need to have a very wide info window. So I had to implement my own "tabbing" system using simple numbered links. This seems to work well though and keeps the window to a reasonable size.

Now I need to change the title that appears when you hover over a marker to indicate the number of photos at that point. That can wait for another day though...


  1. UPDATE: worldinpictures.org has been retired.