Google Maps API Example - turning markers on and off with check boxes

Legend / Toggles
Red Marker Red Markers
Yellow Marker Yellow Markers
Blue Marker Blue Markers
Purple Marker Purple Markers
Orange Marker Orange Markers
Green Marker Green Markers
White Marker White Markers

This example uses the undocumented display(true), display(false) calls. For an example that uses calls documented in the API see this example
Valid XHTML 1.0 Transitional