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.js
CHANGED
|
@@ -4804,10 +4804,10 @@ var Element3DRenderer = class extends EventTarget {
|
|
|
4804
4804
|
this.threeLayer.addMesh(groundLabel);
|
|
4805
4805
|
return groundLabel;
|
|
4806
4806
|
}
|
|
4807
|
-
async createModel3d(
|
|
4808
|
-
const marker = new maptalks4.GLTFMarker(
|
|
4807
|
+
async createModel3d(center4, url) {
|
|
4808
|
+
const marker = new maptalks4.GLTFMarker(center4, {
|
|
4809
4809
|
symbol: {
|
|
4810
|
-
url
|
|
4810
|
+
url
|
|
4811
4811
|
}
|
|
4812
4812
|
});
|
|
4813
4813
|
marker.addTo(this.gltfLayer);
|
|
@@ -5614,12 +5614,6 @@ var RendererManager = class extends EventTarget {
|
|
|
5614
5614
|
}
|
|
5615
5615
|
}
|
|
5616
5616
|
}
|
|
5617
|
-
if (this.options.type === "3D") {
|
|
5618
|
-
const model3ds = await this.#dataClient.filterByType("model3d");
|
|
5619
|
-
for (const model3d of model3ds) {
|
|
5620
|
-
this.elementRenderer.createModel3d(model3d);
|
|
5621
|
-
}
|
|
5622
|
-
}
|
|
5623
5617
|
this.changeLevelByOrdinal(this.currentOrdinals);
|
|
5624
5618
|
this.dispatchEvent(new CustomEvent("renderermanager:elements_created"));
|
|
5625
5619
|
}
|