@antv/l7-renderer 2.12.2 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,5 +17,6 @@ export default class ReglTexture2D implements ITexture2D {
17
17
  width: number;
18
18
  height: number;
19
19
  }): void;
20
+ getSize(): [number, number];
20
21
  destroy(): void;
21
22
  }
@@ -111,6 +111,11 @@ var ReglTexture2D = /*#__PURE__*/function () {
111
111
  this.width = width;
112
112
  this.height = height;
113
113
  }
114
+ }, {
115
+ key: "getSize",
116
+ value: function getSize() {
117
+ return [this.width, this.height];
118
+ }
114
119
  }, {
115
120
  key: "destroy",
116
121
  value: function destroy() {
@@ -91,6 +91,9 @@ var ReglTexture2D = class {
91
91
  this.width = width;
92
92
  this.height = height;
93
93
  }
94
+ getSize() {
95
+ return [this.width, this.height];
96
+ }
94
97
  destroy() {
95
98
  var _a;
96
99
  if (!this.isDestroy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-renderer",
3
- "version": "2.12.2",
3
+ "version": "2.13.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -25,19 +25,19 @@
25
25
  "author": "xiaoiver",
26
26
  "license": "ISC",
27
27
  "devDependencies": {
28
- "@antv/l7-test-utils": "2.12.2",
28
+ "@antv/l7-test-utils": "2.13.0",
29
29
  "gl": "^5.0.3"
30
30
  },
31
31
  "dependencies": {
32
- "@antv/l7-core": "2.12.2",
33
- "@antv/l7-utils": "2.12.2",
32
+ "@antv/l7-core": "2.13.0",
33
+ "@antv/l7-utils": "2.13.0",
34
34
  "@babel/runtime": "^7.7.7",
35
35
  "inversify": "^5.0.1",
36
36
  "l7regl": "^0.0.20",
37
37
  "lodash": "^4.17.15",
38
38
  "reflect-metadata": "^0.1.13"
39
39
  },
40
- "gitHead": "1aa51493b0899f6b28f0477dcd6c56db19ce0669",
40
+ "gitHead": "a87b58ebc6de89f13db8954f94fb603ef4bf72cd",
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  }