-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGLPixiLayer.d.ts
42 lines (29 loc) · 1.1 KB
/
GLPixiLayer.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
///<reference path="node_modules/@types/leaflet/index.d.ts" />
///<reference path="node_modules/@types/pixi.js/index.d.ts" />
///<reference path="node_modules/@types/gsap/index.d.ts" />
///<reference path="GLPixiLayerElements.ts" />
declare namespace GLPixLayer {
class GLAPP extends PIXI.Application {
objectContainer : PIXI.Container;
}
class GLPixLayer extends L.Layer {
// public addElement(f : GeoJSON.Feature<GeoJSON.Point>) : GLPixLayer.GLElement;
/**
* add a new animated element in the layer
* @param f the geopoint
*/
public addAnimatedElement(f : GeoJSON.Feature<GeoJSON.Point>) : JQueryPromise<GLPixLayerElement.AnimatedGLElement>;
/**
*
* @param element the glelement to put on top of others (change the zindex)
*/
public placeOnTop(element : GLPixLayer.GLElement) :void;
}
class GLElement extends PIXI.Sprite {
public lon : number ;
public lat : number ;
public properties : Object;
public timeline : gsap.TimelineLite;
public associatedScale : Object;
}
}