code: public void removeMarker(Marker marker) {
          if (markers != null && markers.contains(marker)) {
              markers.remove(marker);
          }
          marker.setMap(null);
      }
docs: Removes the supplied marker from the map.
  
  @param marker