ILegendRenderingEventArgs
2 Oct 20251 minute to read
Specifies the event arguments for the legend rendering event in maps.
Properties
cancel boolean
Specifies the cancel state for the event. The default value is false. If set as true, the event progress will be stopped.
fill string
Defines the color for the shape of legend in event argument.
maps Maps
Defines the current maps instance.
name string
Defines the name of the event.
shape LegendShape
Defines the shape of the current legend item in maps.
shapeBorder BorderModel
Defines the options for customizing the border of the shape in legend.
text string|string[]
Defines the text of the current legend item.