DataChangeEvent
geovisto-map / DataChangeEvent
Class: DataChangeEvent\<TSource>
This class provides the data change event object.
Author
Jiri Hynek
Extends
MapChangeEvent
\<IMapData
,TSource
>
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
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
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
Inherited from
Source
model/internal/event/generic/MapEvent.ts:32
getType()
getType():
string
It returns string which identifies the event.
Returns
string
Implementation of
Inherited from
Source
model/internal/event/generic/MapEvent.ts:25
TYPE()
static
TYPE():string
Type of the event.
Returns
string