GeoDataChangeEvent
geovisto-map / GeoDataChangeEvent
Class: GeoDataChangeEvent
This class provides event, dispatched in case of geo data change.
Author
Jiri Hynek
Extends
MapChangeEvent
\<null
,IMapTool
>
Implements
Constructors
new GeoDataChangeEvent()
new GeoDataChangeEvent(
tool
):GeoDataChangeEvent
Parameters
• tool: IMapTool
\<IMapToolProps
, IMapToolDefaults
, IMapToolState
\<IMapToolProps
, IMapToolDefaults
, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>>, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>, IMapToolAPI
>
Returns
Overrides
Source
model/internal/event/geodata/GeoDataChangeEvent.ts:12
Methods
getChangedObject()
getChangedObject():
null
Return the changed object.
Returns
null
Implementation of
IGeoDataChangeEvent.getChangedObject
Inherited from
MapChangeEvent
.getChangedObject
Source
model/internal/event/generic/MapChangeEvent.ts:26
getSource()
getSource():
IMapTool
\<IMapToolProps
,IMapToolDefaults
,IMapToolState
\<IMapToolProps
,IMapToolDefaults
,IMapToolConfig
,IMapToolInitProps
\<IMapToolConfig
>>,IMapToolConfig
,IMapToolInitProps
\<IMapToolConfig
>,IMapToolAPI
>
It return source map object of the event.
Returns
IMapTool
\<IMapToolProps
, IMapToolDefaults
, IMapToolState
\<IMapToolProps
, IMapToolDefaults
, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>>, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>, IMapToolAPI
>
Implementation of
IGeoDataChangeEvent.getSource
Inherited from
Source
model/internal/event/generic/MapEvent.ts:32
getType()
getType():
string
It returns string which identifies the event.
Returns
string
Implementation of
IGeoDataChangeEvent.getType
Inherited from
Source
model/internal/event/generic/MapEvent.ts:25
TYPE()
static
TYPE():string
Returns
string