Skip to main content

ISelectionToolAPI

geovisto-map • Readme | API


geovisto-map / ISelectionToolAPI

Type alias: ISelectionToolAPI

ISelectionToolAPI: IMapToolAPI & object

API for Selection Tool.

Author​

Jiri Hynek

Type declaration​

createSelection()​

createSelection: (source, ids) => IMapSelection

Parameters​

• source: IMapTool

• ids: string[]

Returns​

IMapSelection

getChangeEventType()​

getChangeEventType: () => string

Returns​

string

getSelection()​

getSelection: () => IMapSelection | null

Returns​

IMapSelection | null

setSelection()​

setSelection: (selection) => void

Parameters​

• selection: IMapSelection | null

Returns​

void

Source​

tools/selection/model/types/tool/ISelectionToolAPI.ts:23