venue-js 1.4.0-next.17 → 1.4.0-next.18
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/dist/index.js +3 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4750,10 +4750,10 @@ var Element3DRenderer = class extends EventTarget {
|
|
|
4750
4750
|
this.threeLayer.addMesh(groundLabel);
|
|
4751
4751
|
return groundLabel;
|
|
4752
4752
|
}
|
|
4753
|
-
async createModel3d(
|
|
4754
|
-
const marker = new maptalks4.GLTFMarker(
|
|
4753
|
+
async createModel3d(center4, url) {
|
|
4754
|
+
const marker = new maptalks4.GLTFMarker(center4, {
|
|
4755
4755
|
symbol: {
|
|
4756
|
-
url
|
|
4756
|
+
url
|
|
4757
4757
|
}
|
|
4758
4758
|
});
|
|
4759
4759
|
marker.addTo(this.gltfLayer);
|
|
@@ -5560,12 +5560,6 @@ var RendererManager = class extends EventTarget {
|
|
|
5560
5560
|
}
|
|
5561
5561
|
}
|
|
5562
5562
|
}
|
|
5563
|
-
if (this.options.type === "3D") {
|
|
5564
|
-
const model3ds = await this.#dataClient.filterByType("model3d");
|
|
5565
|
-
for (const model3d of model3ds) {
|
|
5566
|
-
this.elementRenderer.createModel3d(model3d);
|
|
5567
|
-
}
|
|
5568
|
-
}
|
|
5569
5563
|
this.changeLevelByOrdinal(this.currentOrdinals);
|
|
5570
5564
|
this.dispatchEvent(new CustomEvent("renderermanager:elements_created"));
|
|
5571
5565
|
}
|