Skip to main content

IMapEventManager

geovisto-mapReadme | API


geovisto-map / IMapEventManager

Interface: IMapEventManager

This interface declares functions for management and handling events and event listeners.

Author

Jiri Hynek

Methods

addEventListener()

addEventListener(listener): void

It adds an event listener.

Parameters

listener: IMapEventListener

Returns

void

Source

model/types/event/IMapEventManager.ts:23


removeEventListener()

removeEventListener(listener): void

It removes an event listener.

Parameters

listener: IMapEventListener

Returns

void

Source

model/types/event/IMapEventManager.ts:30


scheduleEvent()

scheduleEvent(event, beforeCallBack, afterCallBack): void

It schdules an event in the end of the event queue and dispatch the event.

Parameters

event: IMapEvent\<IMapObject\<IMapObjectProps, IMapObjectDefaults\<IMapObjectProps, IMapObjectConfig>, IMapObjectState\<IMapObjectProps, IMapObjectDefaults\<IMapObjectProps, IMapObjectConfig>, IMapObjectConfig, IMapObjectInitProps\<IMapObjectConfig>>, IMapObjectConfig, IMapObjectInitProps\<IMapObjectConfig>>>

beforeCallBack: undefined | () => void

afterCallBack: undefined | () => void

Returns

void

Source

model/types/event/IMapEventManager.ts:16