code: public void addMarker(Marker marker) {
          if (markers == null) {
              markers = new HashSet<>();
          }
          markers.add(marker);
          marker.setMap(this);
      }
docs: Adds the supplied marker to the map.
  
  @param marker