Google Maps Api 3.0 - Marker clearing Sample

Clear Markers This shows how to remove all the markers from the map, using a few utility functions to achieve the equivalent of the v2's clearOverlays method.

notices

11.10.2009 - I found a extension/improvement on stackoverflow