OptionalworldWorld space position for the legend (3D coordinates). If not provided, legend will use screen coordinates.
OptionalscaleScale configuration for the legend. Contains the current scale value and difference per 100 units.
OptionalpaddingPadding around the legend content in pixels.
OptionallineVertical gap between legend rows in pixels.
OptionalgapHorizontal gap between icon and text in pixels.
OptionalbackgroundBackground opacity of the legend (0.0 to 1.0).
OptionalbackgroundBackground color of the legend.
OptionaltextText color for legend labels.
OptionaltextFont family for legend text.
OptionaltextFont size for legend text in pixels.
OptionalimageSize of the legend icons in pixels (width and height).
OptionalrotationRotation angle of the legend in radians.
Configuration options for the legend component.