@aibee/crc-bmap 0.3.0 → 0.4.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.
- package/lib/bmap.cjs.min.js +7 -7
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +15 -5
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +8 -8
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +7 -7
- package/lib/bmap.min.js.map +3 -3
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -5374,7 +5374,7 @@ var MergeGraphic = class extends Object3D13 {
|
|
|
5374
5374
|
this.geometry = this.initGeometry();
|
|
5375
5375
|
this.initMaterial();
|
|
5376
5376
|
this.initMesh();
|
|
5377
|
-
this.mesh.position.z = this.options[0].deltaHeight;
|
|
5377
|
+
this.mesh.position.z = this.options[0].deltaHeight + this.options[0].airHeight;
|
|
5378
5378
|
if (this.options[0].strokeOpacity !== 0) {
|
|
5379
5379
|
this.initLineMaterial();
|
|
5380
5380
|
this.initLineGeometry();
|
|
@@ -9442,8 +9442,17 @@ var BMapSelect = class extends Plugin {
|
|
|
9442
9442
|
};
|
|
9443
9443
|
onBoxSelected = ({ list }) => {
|
|
9444
9444
|
this._list.clear();
|
|
9445
|
+
this._poiList.clear();
|
|
9445
9446
|
list.forEach((item) => {
|
|
9446
|
-
this.
|
|
9447
|
+
if (this.options.elements.includes("graphic")) {
|
|
9448
|
+
this._list.add(item);
|
|
9449
|
+
}
|
|
9450
|
+
if (this.options.elements.includes("poi")) {
|
|
9451
|
+
const poi = this.bmap.getPoiById(item.options.id);
|
|
9452
|
+
if (poi) {
|
|
9453
|
+
this._poiList.add(poi);
|
|
9454
|
+
}
|
|
9455
|
+
}
|
|
9447
9456
|
});
|
|
9448
9457
|
this.selectEnd();
|
|
9449
9458
|
};
|
|
@@ -10843,11 +10852,12 @@ var AibeeLoader = class {
|
|
|
10843
10852
|
fillOpacity,
|
|
10844
10853
|
strokeColor,
|
|
10845
10854
|
strokeOpacity,
|
|
10846
|
-
height
|
|
10855
|
+
height,
|
|
10856
|
+
airHeight
|
|
10847
10857
|
} = options;
|
|
10848
|
-
let key = `${fillColor.toLowerCase()}-${fillOpacity}-${strokeColor.toLowerCase()}-${strokeOpacity}-${height}`;
|
|
10858
|
+
let key = `${fillColor.toLowerCase()}-${fillOpacity}-${strokeColor.toLowerCase()}-${strokeOpacity}-${height}-${airHeight}`;
|
|
10849
10859
|
if (strokeOpacity === 0) {
|
|
10850
|
-
key = `${fillColor.toLowerCase()}-${fillOpacity}-${height}`;
|
|
10860
|
+
key = `${fillColor.toLowerCase()}-${fillOpacity}-${height}-${airHeight}`;
|
|
10851
10861
|
}
|
|
10852
10862
|
if (obj[key]) {
|
|
10853
10863
|
obj[key].push(options);
|