Returns the ordered layer info entries that have collapsible legends.
The map identifier
The layers with collapsible legends
Returns the ordered layer info entries that have collapsible legends.