Skip to main content

DataChangeEvent

geovisto-mapReadme | API


geovisto-map / DataChangeEvent

Class: DataChangeEvent\<TSource>

This class provides the data change event object.

Author

Jiri Hynek

Extends

Type parameters

TSource extends IMapObject = IMapObject

Implements

Constructors

new DataChangeEvent()

new DataChangeEvent\<TSource>(source, data, animateOptions?): DataChangeEvent\<TSource>

It initializes event.

Parameters

source: TSource

data: IMapData

animateOptions?: IDataChangeAnimateOptions

Returns

DataChangeEvent\<TSource>

Overrides

MapChangeEvent.constructor

Source

model/internal/event/data/DataChangeEvent.ts:19

Properties

animateOptions?

private optional animateOptions: IDataChangeAnimateOptions

Source

model/internal/event/data/DataChangeEvent.ts:14

Methods

getAnimateOptions()

getAnimateOptions(): undefined | IDataChangeAnimateOptions

It returns the animate options

Returns

undefined | IDataChangeAnimateOptions

Implementation of

IMapDataChangeEvent.getAnimateOptions

Source

model/internal/event/data/DataChangeEvent.ts:34


getChangedObject()

getChangedObject(): IMapData

Return the changed object.

Returns

IMapData

Implementation of

IMapDataChangeEvent.getChangedObject

Inherited from

MapChangeEvent.getChangedObject

Source

model/internal/event/generic/MapChangeEvent.ts:26


getSource()

getSource(): TSource

It return source map object of the event.

Returns

TSource

Implementation of

IMapDataChangeEvent.getSource

Inherited from

MapChangeEvent.getSource

Source

model/internal/event/generic/MapEvent.ts:32


getType()

getType(): string

It returns string which identifies the event.

Returns

string

Implementation of

IMapDataChangeEvent.getType

Inherited from

MapChangeEvent.getType

Source

model/internal/event/generic/MapEvent.ts:25


TYPE()

static TYPE(): string

Type of the event.

Returns

string

Source

model/internal/event/data/DataChangeEvent.ts:27