In Google Maps API v2, if I wanted to remove all the map markers, I could simply do:
map.clearOverlays();
How do I do this in Google Maps A
if you use the gmap V3 plugin: $("#map").gmap("removeAllMarkers");
$("#map").gmap("removeAllMarkers");
see: http://www.smashinglabs.pl/gmap/documentation#after-load