@aibee/crc-bmap 0.0.24 → 0.0.25
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.cjs.min.js +2 -2
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +12 -2
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +2 -2
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +2 -2
- package/lib/bmap.min.js.map +3 -3
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -157,8 +157,6 @@ function initControl(camera, domElement) {
|
|
|
157
157
|
control.enableDamping = false;
|
|
158
158
|
control.maxPolarAngle = 0;
|
|
159
159
|
control.minPolarAngle = 0;
|
|
160
|
-
control.maxAzimuthAngle = 0;
|
|
161
|
-
control.minAzimuthAngle = 0;
|
|
162
160
|
return control;
|
|
163
161
|
}
|
|
164
162
|
function initShape(path, holePath = []) {
|
|
@@ -1685,6 +1683,18 @@ var Selection = class extends EventDispatcher3 {
|
|
|
1685
1683
|
__publicField(this, "prevPanStatus");
|
|
1686
1684
|
__publicField(this, "onPointerDown", (e) => {
|
|
1687
1685
|
const { graphics } = this.context.getGraphicsByDeviceXy(e.offsetX, e.offsetY);
|
|
1686
|
+
const graphicIdSet = new Set(graphics.map((item) => item.options.id));
|
|
1687
|
+
const pois = this.context.getPoisByDeviceXy(e.clientX, e.clientY);
|
|
1688
|
+
pois.forEach((item) => {
|
|
1689
|
+
var _a;
|
|
1690
|
+
if (!graphicIdSet.has(item.options.id)) {
|
|
1691
|
+
const graphic = ((_a = this.context.currentFloor) == null ? void 0 : _a.graphicLayer.graphicMap.get(item.options.id)) || null;
|
|
1692
|
+
if (graphic) {
|
|
1693
|
+
graphics.push(graphic);
|
|
1694
|
+
graphicIdSet.add(item.options.id);
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
});
|
|
1688
1698
|
if (!e.ctrlKey) {
|
|
1689
1699
|
this._list.clear();
|
|
1690
1700
|
}
|