code: function nextLayerFromIndex(index) {
      const imageryProvider = catalogItem.createImageryProvider(
        catalogItem.intervals.get(index).data
      );
      imageryProvider.enablePickFeatures = false;
      catalogItem._nextLayer = ImageryLayerCatalogItem.enableLayer(
        catalogItem,
        imageryProvider,
        0.0
      );
      updateSplitDirection(catalogItem);
      ImageryLayerCatalogItem.showLayer(catalogItem, catalogItem._nextLayer);
    }
docs: Given an interval index, set up an imagery provider and layer.