code: public void clearMarkers() {
          if (markers != null && !markers.isEmpty()) {
              markers.forEach((m) -> {
                  m.setMap(null);
              });
              markers.clear();
          }
docs: Removes all of the markers from the map.