MapEvent
geovisto-map / MapEvent
Class: MapEvent\<TSource>
This class provides generic map event object.
Author
Jiri Hynek
Extended by
Type parameters
• TSource extends IMapObject
= IMapObject
Implements
Constructors
new MapEvent()
new MapEvent\<
TSource
>(type
,source
):MapEvent
\<TSource
>
It initializes event.
Parameters
• type: string
• source: TSource
Returns
MapEvent
\<TSource
>
Source
model/internal/event/generic/MapEvent.ts:17
Properties
source
private
source:TSource
Source
model/internal/event/generic/MapEvent.ts:12
type
private
type:string
Source
model/internal/event/generic/MapEvent.ts:11
Methods
getSource()
getSource():
TSource
It return source map object of the event.
Returns
TSource
Implementation of
Source
model/internal/event/generic/MapEvent.ts:32
getType()
getType():
string
It returns string which identifies the event.
Returns
string