@splnlss/3d-story-viewer 0.5.2 → 0.5.4
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/build/viewer.js
CHANGED
|
@@ -25659,9 +25659,12 @@ class GlobeManager extends EventDispatcher {
|
|
|
25659
25659
|
this.camera = camera;
|
|
25660
25660
|
this.renderer = renderer;
|
|
25661
25661
|
this.tiles = null;
|
|
25662
|
+
this.dracoLoader = null;
|
|
25662
25663
|
this.apiToken = options.apiToken;
|
|
25663
25664
|
this.googleMapsToken = options.googleMapsToken;
|
|
25664
|
-
this.
|
|
25665
|
+
if (this.googleMapsToken) {
|
|
25666
|
+
this.initTiles();
|
|
25667
|
+
}
|
|
25665
25668
|
}
|
|
25666
25669
|
initTiles() {
|
|
25667
25670
|
if (this.tiles) {
|
|
@@ -27022,7 +27025,7 @@ class WorkerPool2 {
|
|
|
27022
27025
|
}
|
|
27023
27026
|
function WorkerWrapper(options) {
|
|
27024
27027
|
return new Worker(
|
|
27025
|
-
"
|
|
27028
|
+
new URL("./assets/viewer/geojson.worker-bpUFQjm2.js", import.meta.url),
|
|
27026
27029
|
{
|
|
27027
27030
|
name: options == null ? void 0 : options.name
|
|
27028
27031
|
}
|