@antv/l7-scene 2.16.0 → 2.16.2

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.d.ts CHANGED
@@ -83,6 +83,7 @@ declare class Scene implements IPostProcessingPassPluggable, IMapController, ILa
83
83
  addMarkerLayer(layer: IMarkerLayer): void;
84
84
  removeMarkerLayer(layer: IMarkerLayer): void;
85
85
  removeAllMarkers(): void;
86
+ removeAllMakers(): void;
86
87
  addPopup(popup: IPopup): void;
87
88
  removePopup(popup: IPopup): void;
88
89
  on(type: string, handle: (...args: any[]) => void): void;
package/es/index.js CHANGED
@@ -429,6 +429,12 @@ var Scene = /*#__PURE__*/function () {
429
429
  value: function removeAllMarkers() {
430
430
  this.markerService.removeAllMarkers();
431
431
  }
432
+ }, {
433
+ key: "removeAllMakers",
434
+ value: function removeAllMakers() {
435
+ console.warn('removeAllMakers 已废弃,请使用 removeAllMarkers');
436
+ this.markerService.removeAllMarkers();
437
+ }
432
438
  }, {
433
439
  key: "addPopup",
434
440
  value: function addPopup(popup) {
package/lib/index.js CHANGED
@@ -264,6 +264,10 @@ var Scene = class {
264
264
  removeAllMarkers() {
265
265
  this.markerService.removeAllMarkers();
266
266
  }
267
+ removeAllMakers() {
268
+ console.warn("removeAllMakers 已废弃,请使用 removeAllMarkers");
269
+ this.markerService.removeAllMarkers();
270
+ }
267
271
  addPopup(popup) {
268
272
  this.popupService.addPopup(popup);
269
273
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-scene",
3
- "version": "2.16.0",
3
+ "version": "2.16.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -23,12 +23,12 @@
23
23
  "author": "xiaoiver",
24
24
  "license": "ISC",
25
25
  "dependencies": {
26
- "@antv/l7-component": "2.16.0",
27
- "@antv/l7-core": "2.16.0",
28
- "@antv/l7-layers": "2.16.0",
29
- "@antv/l7-maps": "2.16.0",
30
- "@antv/l7-renderer": "2.16.0",
31
- "@antv/l7-utils": "2.16.0",
26
+ "@antv/l7-component": "2.16.2",
27
+ "@antv/l7-core": "2.16.2",
28
+ "@antv/l7-layers": "2.16.2",
29
+ "@antv/l7-maps": "2.16.2",
30
+ "@antv/l7-renderer": "2.16.2",
31
+ "@antv/l7-utils": "2.16.2",
32
32
  "@babel/runtime": "^7.7.7",
33
33
  "eventemitter3": "^4.0.7",
34
34
  "inversify": "^5.0.1",
@@ -36,9 +36,9 @@
36
36
  "reflect-metadata": "^0.1.13"
37
37
  },
38
38
  "devDependencies": {
39
- "@antv/l7-test-utils": "2.16.0"
39
+ "@antv/l7-test-utils": "2.16.2"
40
40
  },
41
- "gitHead": "901d07c0523b128fbc69ca04e6b3b8367ea3572d",
41
+ "gitHead": "93b6d071e7d9c07c8bafcf1e6ce37b5f21185905",
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  }