IShapeSelectedEventArgs

2 Oct 20251 minute to read

Specifies the event arguments for shape selected event in maps.

Properties

border BorderModel

Defines the settings of the border for the selected shape in maps.

cancel boolean

Specifies the cancel state for the event. The default value is false. If set as true, the event progress will be stopped.

data Object

Defines the data from the data source for the currently selected shape.

fill string

Defines the color for the selected shape in maps.

maps Maps

Defines the current maps instance.

name string

Defines the name of the event.

opacity number

Defines the opacity for the selected shape in maps.

shapeData Object

Defines the data from the GeoJSON data for the currently selected shape.

shapeDataCollection Object

Returns the details of the shapes which are in selected state during multiple selection.

target string

Defines the id string of the target of the current mouse event.