MapChangeEvent
geovisto-map / MapChangeEvent
Class: MapChangeEvent\<TChangedObject, TSource>
This class provides generic map change event object.
Author
Jiri Hynek
Extends
MapEvent
\<TSource
>
Type parameters
• TChangedObject
• TSource extends IMapObject
= IMapObject
Implements
Constructors
new MapChangeEvent()
new MapChangeEvent\<
TChangedObject
,TSource
>(type
,source
,changedObject
):MapChangeEvent
\<TChangedObject
,TSource
>
It initializes event.
Parameters
• type: string
• source: TSource
• changedObject: TChangedObject
Returns
MapChangeEvent
\<TChangedObject
, TSource
>
Overrides
Source
model/internal/event/generic/MapChangeEvent.ts:17
Properties
changedObject
private
changedObject:TChangedObject
Source
model/internal/event/generic/MapChangeEvent.ts:12
Methods
getChangedObject()
getChangedObject():
TChangedObject
Return the changed object.
Returns
TChangedObject
Implementation of
IMapChangeEvent
.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