@loaders.gl/potree 4.3.0-alpha.6 → 4.3.0-alpha.7
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/dist.dev.js +4 -2
- package/dist/dist.min.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +2 -2
- package/dist/lib/potree-node-source.d.ts +2 -2
- package/dist/lib/potree-node-source.d.ts.map +1 -1
- package/dist/lib/potree-node-source.js +2 -3
- package/dist/potree-hierarchy-chunk-loader.js +1 -1
- package/dist/potree-loader.js +1 -1
- package/package.json +5 -5
- package/src/lib/potree-node-source.ts +6 -5
package/dist/dist.dev.js
CHANGED
|
@@ -19598,7 +19598,7 @@ var __exports__ = (() => {
|
|
|
19598
19598
|
/** Is data set supported */
|
|
19599
19599
|
isSupported() {
|
|
19600
19600
|
const { minor, major } = parseVersion(this.metadata?.version ?? "");
|
|
19601
|
-
return this.isReady && major === 1 && minor
|
|
19601
|
+
return this.isReady && major === 1 && minor <= 8 && typeof this.metadata?.pointAttributes === "string" && ["LAS", "LAZ"].includes(this.metadata?.pointAttributes);
|
|
19602
19602
|
}
|
|
19603
19603
|
/** Get content files extension */
|
|
19604
19604
|
getContentExtension() {
|
|
@@ -19627,7 +19627,9 @@ var __exports__ = (() => {
|
|
|
19627
19627
|
const isAvailable = await this.isNodeAvailable(path);
|
|
19628
19628
|
if (isAvailable) {
|
|
19629
19629
|
return (0, import_core.load)(
|
|
19630
|
-
`${this.baseUrl}/${this.metadata?.octreeDir}/r/r${path.join(
|
|
19630
|
+
`${this.baseUrl}/${this.metadata?.octreeDir}/r/r${path.join(
|
|
19631
|
+
""
|
|
19632
|
+
)}.${this.getContentExtension()}`,
|
|
19631
19633
|
LASLoader3
|
|
19632
19634
|
);
|
|
19633
19635
|
}
|