OptionalautoShow the parent layers when a child layer is made visible.
Defaults to true.
OptionalbasemapProperties for the embedded basemap switcher.
Property mapId is not applied (the basemap switcher uses the same map as the toc).
OptionalcollapsibleIf true, groups in the toc can be collapsed and expanded.
This property should only be true if the map actually contains layer groups.
Defaults to false.
OptionalinitiallyIf true groups in the toc are collapsed initially.
Defaults to false. If collapsibleGroups is false this property should also be false. Otherwise, only the top level layers will appear in the toc.
OptionalmapThe map model to use.
OptionalonCallback that is triggered once when the Toc is disposed and unmounted.
OptionalonCallback that is triggered once when the Toc is initialized.
The Toc API can be accessed by the api property of the TocReadyEvent.
OptionalshowDefines whether the basemap switcher is shown in the toc.
Defaults to true.
OptionalshowDefines whether the tool component is shown in the toc.
Defaults to false.
OptionaltoolsProperties for the embedded tool component.
Props supported by the Toc component.