@antv/l7-scene 2.23.0 → 2.23.1
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.
- package/es/index.js +5 -1
- package/lib/index.js +5 -1
- package/package.json +8 -8
package/es/index.js
CHANGED
|
@@ -306,7 +306,11 @@ var Scene = class {
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
emit(type, handle) {
|
|
309
|
-
SceneEventList.
|
|
309
|
+
if (SceneEventList.includes(type)) {
|
|
310
|
+
this.sceneService.emit(type, handle);
|
|
311
|
+
} else {
|
|
312
|
+
this.mapService.on(type, handle);
|
|
313
|
+
}
|
|
310
314
|
}
|
|
311
315
|
off(type, handle) {
|
|
312
316
|
var _a;
|
package/lib/index.js
CHANGED
|
@@ -336,7 +336,11 @@ var Scene = class {
|
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
emit(type, handle) {
|
|
339
|
-
import_l7_core.SceneEventList.
|
|
339
|
+
if (import_l7_core.SceneEventList.includes(type)) {
|
|
340
|
+
this.sceneService.emit(type, handle);
|
|
341
|
+
} else {
|
|
342
|
+
this.mapService.on(type, handle);
|
|
343
|
+
}
|
|
340
344
|
}
|
|
341
345
|
off(type, handle) {
|
|
342
346
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-scene",
|
|
3
|
-
"version": "2.23.
|
|
3
|
+
"version": "2.23.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "https://github.com/orgs/antvis/people",
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime": "^7.7.7",
|
|
17
17
|
"eventemitter3": "^4.0.7",
|
|
18
|
-
"@antv/l7-component": "2.23.
|
|
19
|
-
"@antv/l7-
|
|
20
|
-
"@antv/l7-
|
|
21
|
-
"@antv/l7-maps": "2.23.
|
|
22
|
-
"@antv/l7-
|
|
23
|
-
"@antv/l7-
|
|
18
|
+
"@antv/l7-component": "2.23.1",
|
|
19
|
+
"@antv/l7-core": "2.23.1",
|
|
20
|
+
"@antv/l7-layers": "2.23.1",
|
|
21
|
+
"@antv/l7-maps": "2.23.1",
|
|
22
|
+
"@antv/l7-renderer": "2.23.1",
|
|
23
|
+
"@antv/l7-utils": "2.23.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@antv/l7-test-utils": "^2.23.
|
|
26
|
+
"@antv/l7-test-utils": "^2.23.1"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public",
|