TocItemType: "root" | "layer" | "sublayer"

The type of the toc item. Well-known types are:

  • layer - item represents an layer (in the sense of a esri/layer/Layer instance)
  • sublayer - item represents a sub layer (e.g. wms or map-image sublayer)
  • root - item is the root of the layer tree The list may be extended in the future.