I have many pieces of (non-geographic) data that I am trying to view through Google maps. It is basically broken down into N 'maps', each containing M 'layers'.
This example shows what I want to do: http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html
I can make it switch between two different maps by providing two custom MapTypes (similar to the Map / Sattelite transition in the sample), but I cannot figure out how to do this so that I can switch the additional overlay layer on and off (for example, the relief flag) )
White papers vaguely mention this ( http://code.google.com/apis/maps/documentation/javascript/maptypes.html#MapTypeInterface ), but unfortunately the bit I need (see "Adding MapType controls 'below') is a dead link, and I cannot find this bit of documentation.
Does anyone know where the documentation is about whether switch boxes exist?
thanks
source share