@aibee/crc-bmap 0.8.100 → 0.8.101

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.
@@ -92,10 +92,10 @@ export function transformLayersPoi(layer, floor, locale, placeConfig) {
92
92
  */ export function laneLayer(layer, floor) {
93
93
  // 分组
94
94
  const laneGroup = layer.elements.reduce((obj, options)=>{
95
- const { fillColor, fillOpacity, strokeColor, strokeOpacity } = options;
96
- let key = fillColor.toLowerCase() + "-" + fillOpacity + "-" + strokeColor.toLowerCase() + "-" + strokeOpacity;
95
+ const { fillColor, fillOpacity, strokeColor, strokeOpacity, height, dashed } = options;
96
+ let key = fillColor.toLowerCase() + "-" + fillOpacity + "-" + strokeColor.toLowerCase() + "-" + strokeOpacity + "-" + height + "-" + dashed;
97
97
  if (strokeOpacity === 0) {
98
- key = fillColor.toLowerCase() + "-" + fillOpacity;
98
+ key = fillColor.toLowerCase() + "-" + fillOpacity + "-" + height + "-" + dashed;
99
99
  }
100
100
  if (obj[key]) {
101
101
  obj[key].push(options);
@@ -91,7 +91,7 @@ export class Path extends Object3D {
91
91
  });
92
92
  // 生成模型
93
93
  const mesh = this.mesh = new Mesh(lineGeometry, material);
94
- mesh.renderOrder = 100009;
94
+ mesh.renderOrder = 99999;
95
95
  this.add(mesh);
96
96
  return mesh;
97
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.8.100",
3
+ "version": "0.8.101",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.min.js",