Last updated

API / geotoolkit / controls / shapes / Legend / Legend

Namespace: Legend

shapes.Legend.Legend

Table of contents

Type Aliases

Contents

Type Aliases

EventMap

Ƭ EventMap: EventMap & { StateChanged: LegendItem }


Options

Ƭ Options: Merge<Options, OptionsBase>

options


OptionsBase

Ƭ OptionsBase: Object

options

Type declaration

NameTypeDescription
autobounds?boolean-
autosize?booleanauto 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 | LegendItemcollection containing an array or an array itself of LegendItem and/or ShapeLegendAdapter elements
fillstyle?Typewhole legend fill style
height?numberlegend height (it is ignored if autosize is true)
linestyle?Typewhole legend line style
padding?TypeIt has properties for specifying the padding for each side of an legend Legend supports only numbers as padding
width?numberlegend width (it is ignored if autosize is true)

OptionsOut

Ƭ OptionsOut: Merge<OptionsOut, { autobounds?: boolean ; autosize?: boolean ; data?: Collection<LegendItem | ShapeLegendAdapter> ; padding?: SpaceStyle }>

object containing the properties