-
Notifications
You must be signed in to change notification settings - Fork 0
/
Map.d.ts
executable file
·70 lines (69 loc) · 4.87 KB
/
Map.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import { EventsKey } from './events';
import BaseEvent from './events/Event';
import MapBrowserEvent from './MapBrowserEvent';
import MapEvent from './MapEvent';
import { ObjectEvent } from './Object';
import PluggableMap, { MapOptions } from './PluggableMap';
import RenderEvent from './render/Event';
import MapRenderer from './renderer/Map';
export default class Map extends PluggableMap {
constructor(options: MapOptions);
createRenderer(): MapRenderer;
on(type: string | string[], listener: (p0: any) => any): EventsKey | EventsKey[];
once(type: string | string[], listener: (p0: any) => any): EventsKey | EventsKey[];
un(type: string | string[], listener: (p0: any) => any): void;
on(type: 'change', listener: (evt: BaseEvent) => void): EventsKey;
once(type: 'change', listener: (evt: BaseEvent) => void): EventsKey;
un(type: 'change', listener: (evt: BaseEvent) => void): void;
on(type: 'change:layerGroup', listener: (evt: ObjectEvent) => void): EventsKey;
once(type: 'change:layerGroup', listener: (evt: ObjectEvent) => void): EventsKey;
un(type: 'change:layerGroup', listener: (evt: ObjectEvent) => void): void;
on(type: 'change:size', listener: (evt: ObjectEvent) => void): EventsKey;
once(type: 'change:size', listener: (evt: ObjectEvent) => void): EventsKey;
un(type: 'change:size', listener: (evt: ObjectEvent) => void): void;
on(type: 'change:target', listener: (evt: ObjectEvent) => void): EventsKey;
once(type: 'change:target', listener: (evt: ObjectEvent) => void): EventsKey;
un(type: 'change:target', listener: (evt: ObjectEvent) => void): void;
on(type: 'change:view', listener: (evt: ObjectEvent) => void): EventsKey;
once(type: 'change:view', listener: (evt: ObjectEvent) => void): EventsKey;
un(type: 'change:view', listener: (evt: ObjectEvent) => void): void;
on(type: 'click', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
once(type: 'click', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
un(type: 'click', listener: (evt: MapBrowserEvent<UIEvent>) => void): void;
on(type: 'dblclick', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
once(type: 'dblclick', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
un(type: 'dblclick', listener: (evt: MapBrowserEvent<UIEvent>) => void): void;
on(type: 'error', listener: (evt: BaseEvent) => void): EventsKey;
once(type: 'error', listener: (evt: BaseEvent) => void): EventsKey;
un(type: 'error', listener: (evt: BaseEvent) => void): void;
on(type: 'moveend', listener: (evt: MapEvent) => void): EventsKey;
once(type: 'moveend', listener: (evt: MapEvent) => void): EventsKey;
un(type: 'moveend', listener: (evt: MapEvent) => void): void;
on(type: 'movestart', listener: (evt: MapEvent) => void): EventsKey;
once(type: 'movestart', listener: (evt: MapEvent) => void): EventsKey;
un(type: 'movestart', listener: (evt: MapEvent) => void): void;
on(type: 'pointerdrag', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
once(type: 'pointerdrag', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
un(type: 'pointerdrag', listener: (evt: MapBrowserEvent<UIEvent>) => void): void;
on(type: 'pointermove', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
once(type: 'pointermove', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
un(type: 'pointermove', listener: (evt: MapBrowserEvent<UIEvent>) => void): void;
on(type: 'postcompose', listener: (evt: RenderEvent) => void): EventsKey;
once(type: 'postcompose', listener: (evt: RenderEvent) => void): EventsKey;
un(type: 'postcompose', listener: (evt: RenderEvent) => void): void;
on(type: 'postrender', listener: (evt: MapEvent) => void): EventsKey;
once(type: 'postrender', listener: (evt: MapEvent) => void): EventsKey;
un(type: 'postrender', listener: (evt: MapEvent) => void): void;
on(type: 'precompose', listener: (evt: RenderEvent) => void): EventsKey;
once(type: 'precompose', listener: (evt: RenderEvent) => void): EventsKey;
un(type: 'precompose', listener: (evt: RenderEvent) => void): void;
on(type: 'propertychange', listener: (evt: ObjectEvent) => void): EventsKey;
once(type: 'propertychange', listener: (evt: ObjectEvent) => void): EventsKey;
un(type: 'propertychange', listener: (evt: ObjectEvent) => void): void;
on(type: 'rendercomplete', listener: (evt: RenderEvent) => void): EventsKey;
once(type: 'rendercomplete', listener: (evt: RenderEvent) => void): EventsKey;
un(type: 'rendercomplete', listener: (evt: RenderEvent) => void): void;
on(type: 'singleclick', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
once(type: 'singleclick', listener: (evt: MapBrowserEvent<UIEvent>) => void): EventsKey;
un(type: 'singleclick', listener: (evt: MapBrowserEvent<UIEvent>) => void): void;
}