Can you change this to accept a list of Markers? Something like:

    void setMarkers(List<Marker> markers) {
      ...
    }