I\'m using Google Maps to make a map that can load markers with lat/lng data stored in a database. I want there to be three different \'layers\' that the user can load by cl
Here is Mike Williams' (v2) tutorial on "The AJAX Philosophy", where he does exactly what you are asking about.
(I should note that the map uses Google Maps API v2, but this concept is not API version specific)