API / geotoolkit / controls / shapes / Legend / Legend
Type Aliases
Type Aliases
Ƭ EventMap: EventMap & { StateChanged: LegendItem }
Ƭ Options: Merge<Options, OptionsBase>
options
Ƭ OptionsBase: Object
options
| Name | Type | Description |
|---|---|---|
autobounds? | boolean | - |
autosize? | boolean | auto size to calculate device size of the legend. it doesn't work if legend in the model space. |
data? | Collection<LegendItem | ShapeLegendAdapter> | (LegendItem | ShapeLegendAdapter)[] | ShapeLegendAdapter | LegendItem | collection containing an array or an array itself of LegendItem and/or ShapeLegendAdapter elements |
fillstyle? | Type | whole legend fill style |
height? | number | legend height (it is ignored if autosize is true) |
linestyle? | Type | whole legend line style |
padding? | Type | It has properties for specifying the padding for each side of an legend Legend supports only numbers as padding |
width? | number | legend width (it is ignored if autosize is true) |
Ƭ OptionsOut: Merge<OptionsOut, { autobounds?: boolean ; autosize?: boolean ; data?: Collection<LegendItem | ShapeLegendAdapter> ; padding?: SpaceStyle }>
object containing the properties