Skip to main content

GeoDataChangeEvent

geovisto-mapReadme | API


geovisto-map / GeoDataChangeEvent

Class: GeoDataChangeEvent

This class provides event, dispatched in case of geo data change.

Author

Jiri Hynek

Extends

Implements

Constructors

new GeoDataChangeEvent()

new GeoDataChangeEvent(tool): GeoDataChangeEvent

Parameters

tool: IMapTool\<IMapToolProps, IMapToolDefaults, IMapToolState\<IMapToolProps, IMapToolDefaults, IMapToolConfig, IMapToolInitProps\<IMapToolConfig>>, IMapToolConfig, IMapToolInitProps\<IMapToolConfig>, IMapToolAPI>

Returns

GeoDataChangeEvent

Overrides

MapChangeEvent.constructor

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

MapChangeEvent.getSource

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

MapChangeEvent.getType

Source

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


TYPE()

static TYPE(): string

Returns

string

Source

model/internal/event/geodata/GeoDataChangeEvent.ts:16