@aibee/crc-bmap 0.0.30 → 0.0.31

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/lib/bmap.esm.js CHANGED
@@ -1838,6 +1838,12 @@ var Selection = class extends EventDispatcher3 {
1838
1838
  window.removeEventListener("keyup", this.onKeyUp);
1839
1839
  this.boxSelection.removeEventListener("selected", this.onBoxSelected);
1840
1840
  }
1841
+ clear() {
1842
+ this._list.clear();
1843
+ }
1844
+ remove(graphic) {
1845
+ this._list.delete(graphic);
1846
+ }
1841
1847
  dispose() {
1842
1848
  this.unRegistryEvent();
1843
1849
  }
@@ -2667,6 +2673,9 @@ var BMap = class extends EventDispatcher6 {
2667
2673
  this.context.currentFloor.poiLayer.clear();
2668
2674
  }
2669
2675
  }
2676
+ removeSelectGraphic(graphic) {
2677
+ this.context.selection.remove(graphic);
2678
+ }
2670
2679
  dispose() {
2671
2680
  this.context.dispose();
2672
2681
  clearTextTexture();