LegendItemsConstraint
Constraints for legend items. If nothing is passed, all legend items will be returned.
optional ids: { id: string; layerId: string; }[]
Array of legend item identifiers to constrain by.
optional layerIds: string[]
Array of layer ids to constrain legend items by.