UNPKG

4.45 kBJavaScriptView Raw
1/**
2 * @externs
3 */
4
5
6/**
7 * @type {Object}
8 */
9var oli;
10
11
12/**
13 * @interface
14 */
15oli.AssertionError = function() {};
16
17
18/**
19 * @type {number}
20 */
21oli.AssertionError.prototype.code;
22
23
24/**
25 * @interface
26 */
27oli.events.Event = function() {};
28
29
30/**
31 * @type {Object}
32 */
33oli.events.Event.prototype.target;
34
35
36/**
37 * @type {string}
38 */
39oli.events.Event.prototype.type;
40
41
42/**
43 */
44oli.events.Event.prototype.preventDefault = function() {};
45
46
47/**
48 */
49oli.events.Event.prototype.stopPropagation = function() {};
50
51
52/**
53 * @interface
54 */
55oli.Collection.Event = function() {};
56
57
58/**
59 * @type {*}
60 */
61oli.Collection.Event.prototype.element;
62
63
64/**
65 * @interface
66 */
67oli.DragBoxEvent = function() {};
68
69
70/**
71 * @type {ol.Coordinate}
72 */
73oli.DragBoxEvent.prototype.coordinate;
74
75
76/**
77 * @type {ol.MapBrowserEvent}
78 */
79oli.DragBoxEvent.prototype.mapBrowserEvent;
80
81
82/**
83 * @interface
84 */
85oli.DrawEvent = function() {};
86
87
88/**
89 * @type {ol.Feature}
90 */
91oli.DrawEvent.prototype.feature;
92
93
94/**
95 * @interface
96 */
97oli.ExtentEvent = function() {};
98
99
100/**
101 * @type {ol.Extent}
102 */
103oli.ExtentEvent.prototype.extent;
104
105/**
106 * @interface
107 */
108oli.ModifyEvent = function() {};
109
110
111/**
112 * @type {ol.Collection.<ol.Feature>}
113 */
114oli.ModifyEvent.prototype.features;
115
116
117/**
118 * @type {ol.MapBrowserEvent}
119 */
120oli.ModifyEvent.prototype.mapBrowserEvent;
121
122
123/**
124 * @type {Object}
125 */
126oli.Object;
127
128
129/**
130 * @interface
131 */
132oli.Object.Event = function() {};
133
134
135/**
136 * @type {string}
137 */
138oli.Object.Event.prototype.key;
139
140
141/**
142 * @type {*}
143 */
144oli.Object.Event.prototype.oldValue;
145
146
147/**
148 * @interface
149 */
150oli.MapBrowserEvent = function() {};
151
152
153/**
154 * @type {ol.Coordinate}
155 */
156oli.MapBrowserEvent.prototype.coordinate;
157
158
159/**
160 * @type {Event}
161 */
162oli.MapBrowserEvent.prototype.originalEvent;
163
164
165/**
166 * @type {ol.Pixel}
167 */
168oli.MapBrowserEvent.prototype.pixel;
169
170
171/**
172 * @type {boolean}
173 */
174oli.MapBrowserEvent.prototype.dragging;
175
176
177/**
178 * @interface
179 */
180oli.MapEvent = function() {};
181
182
183/**
184 * @type {ol.PluggableMap}
185 */
186oli.MapEvent.prototype.map;
187
188
189/**
190 * @type {olx.FrameState}
191 */
192oli.MapEvent.prototype.frameState;
193
194
195/**
196 * @interface
197 */
198oli.SelectEvent = function() {};
199
200
201/**
202 * @type {Array.<ol.Feature>}
203 */
204oli.SelectEvent.prototype.deselected;
205
206
207/**
208 * @type {Array.<ol.Feature>}
209 */
210oli.SelectEvent.prototype.selected;
211
212
213/**
214 * @type {ol.MapBrowserEvent}
215 */
216oli.SelectEvent.prototype.mapBrowserEvent;
217
218
219/**
220 * @type {Object}
221 */
222oli.control;
223
224
225/**
226 * @interface
227 */
228oli.control.Control = function() {};
229
230
231/**
232 * @param {ol.PluggableMap} map Map.
233 * @return {undefined} Undefined.
234 */
235oli.control.Control.prototype.setMap = function(map) {};
236
237
238/**
239 * @type {Object}
240 */
241oli.interaction;
242
243
244/**
245 * @interface
246 */
247oli.interaction.DragAndDropEvent = function() {};
248
249
250/**
251 * @type {Array.<ol.Feature>|undefined}
252 */
253oli.interaction.DragAndDropEvent.prototype.features;
254
255
256/**
257 * @type {ol.proj.Projection|undefined}
258 */
259oli.interaction.DragAndDropEvent.prototype.projection;
260
261
262/**
263 * @type {File}
264 */
265oli.interaction.DragAndDropEvent.prototype.file;
266
267
268/**
269 * @interface
270 */
271oli.interaction.TranslateEvent = function() {};
272
273
274/**
275 * @type {ol.Collection.<ol.Feature>}
276 */
277oli.interaction.TranslateEvent.prototype.features;
278
279
280/**
281 * @type {ol.Coordinate}
282 */
283oli.interaction.TranslateEvent.prototype.coordinate;
284
285
286/**
287 * @type {Object}
288 */
289oli.render;
290
291
292/**
293 * @interface
294 */
295oli.render.Event = function() {};
296
297
298/**
299 * @type {CanvasRenderingContext2D|null|undefined}
300 */
301oli.render.Event.prototype.context;
302
303
304/**
305 * @type {olx.FrameState|undefined}
306 */
307oli.render.Event.prototype.frameState;
308
309
310/**
311 * @type {ol.webgl.Context|null|undefined}
312 */
313oli.render.Event.prototype.glContext;
314
315
316/**
317 * @type {ol.render.VectorContext|undefined}
318 */
319oli.render.Event.prototype.vectorContext;
320
321
322/**
323 * @type {Object}
324 */
325oli.source;
326
327
328/**
329 * @interface
330 */
331oli.source.ImageEvent = function() {};
332
333
334/**
335 * @type {ol.Image}
336 */
337oli.source.ImageEvent.prototype.image;
338
339
340/**
341 * @interface
342 */
343oli.source.RasterEvent = function() {};
344
345
346/**
347 * @type {ol.Extent}
348 */
349oli.source.RasterEvent.prototype.extent;
350
351
352/**
353 * @type {number}
354 */
355oli.source.RasterEvent.prototype.resolution;
356
357
358/**
359 * @type {Object}
360 */
361oli.source.RasterEvent.prototype.data;
362
363
364/**
365 * @interface
366 */
367oli.source.Tile.Event = function() {};
368
369
370/**
371 * @type {ol.Tile}
372 */
373oli.source.Tile.Event.prototype.tile;
374
375
376/**
377 * @interface
378 */
379oli.source.Vector.Event = function() {};
380
381
382/**
383 * @type {ol.Feature|undefined}
384 */
385oli.source.Vector.Event.prototype.feature;