function getKeplerConfigUtil(
  idsInSegmentgroups,
  geoFeatures,
  isVisible,
  colorByFeature
) {
  const layers = getKeplerLayers(
    idsInSegmentgroups,
    geoFeatures,
    isVisible,
    colorByFeature
  );
  const filters = getKeplerFiltersByRowId(idsInSegmentgroups);
  return {
    version: KEPLER_GL_VERSION,
    config: {
      visState: {
        filters,
        layers,
        layerBlending: 'normal',
        splitMaps: [],
      },
    },
  };
}
@param {Array<Array<Number>>} idsInSegmentgroups array of 2 arrays of row ids, representing data points in 2 segment groups
@param {Array<Object>} geoFeatures geo feature definitions, contains {name, pair}. geoFeatures.pair is an array of 2 geo feature definitions representing lat, lng columns of that feature
@param {Array<Boolean>} isVisible whether each geo feature is visible
@returns kepler config