@loaders.gl/i3s 4.2.0-alpha.5 → 4.2.0-beta.1
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/arcgis-webscene-loader.d.ts +19 -2
- package/dist/arcgis-webscene-loader.d.ts.map +1 -1
- package/dist/arcgis-webscene-loader.js +3 -1
- package/dist/dist.dev.js +192 -144
- package/dist/dist.min.js +1 -1
- package/dist/i3s-attribute-loader.d.ts +14 -3
- package/dist/i3s-attribute-loader.d.ts.map +1 -1
- package/dist/i3s-attribute-loader.js +3 -1
- package/dist/i3s-building-scene-layer-loader.d.ts +15 -3
- package/dist/i3s-building-scene-layer-loader.d.ts.map +1 -1
- package/dist/i3s-building-scene-layer-loader.js +3 -1
- package/dist/i3s-content-loader.d.ts +18 -2
- package/dist/i3s-content-loader.d.ts.map +1 -1
- package/dist/i3s-content-loader.js +6 -1
- package/dist/i3s-content-worker-node.js +51 -51
- package/dist/i3s-content-worker-node.js.map +4 -4
- package/dist/i3s-content-worker.js +1722 -1702
- package/dist/i3s-loader.d.ts +30 -2
- package/dist/i3s-loader.d.ts.map +1 -1
- package/dist/i3s-loader.js +8 -2
- package/dist/i3s-node-page-loader.d.ts +17 -3
- package/dist/i3s-node-page-loader.d.ts.map +1 -1
- package/dist/i3s-node-page-loader.js +6 -1
- package/dist/i3s-slpk-loader.d.ts +13 -2
- package/dist/i3s-slpk-loader.d.ts.map +1 -1
- package/dist/i3s-slpk-loader.js +6 -1
- package/dist/index.cjs +43 -35
- package/dist/index.cjs.map +2 -2
- package/dist/lib/helpers/i3s-nodepages-tiles.d.ts.map +1 -1
- package/dist/lib/helpers/i3s-nodepages-tiles.js +11 -7
- package/dist/lib/parsers/parse-arcgis-webscene.js +1 -0
- package/dist/lib/parsers/parse-i3s-tile-content.d.ts.map +1 -1
- package/dist/lib/parsers/parse-i3s-tile-content.js +3 -25
- package/dist/lib/parsers/parse-slpk/slpk-archieve.js +5 -3
- package/package.json +12 -10
- package/src/arcgis-webscene-loader.ts +4 -6
- package/src/i3s-attribute-loader.ts +4 -2
- package/src/i3s-building-scene-layer-loader.ts +6 -6
- package/src/i3s-content-loader.ts +9 -2
- package/src/i3s-loader.ts +11 -3
- package/src/i3s-node-page-loader.ts +9 -2
- package/src/i3s-slpk-loader.ts +9 -2
- package/src/lib/helpers/i3s-nodepages-tiles.ts +1 -3
- package/src/lib/parsers/parse-i3s-tile-content.ts +7 -30
|
@@ -1,9 +1,26 @@
|
|
|
1
|
-
import type { LoaderOptions
|
|
1
|
+
import type { LoaderOptions } from '@loaders.gl/loader-utils';
|
|
2
2
|
import type { ArcGISWebSceneData } from "./types.js";
|
|
3
3
|
export type ArcGISWebSceneLoaderOptions = LoaderOptions & {};
|
|
4
4
|
/**
|
|
5
5
|
* Loader for ArcGIS WebScene
|
|
6
6
|
* Spec - https://developers.arcgis.com/web-scene-specification/objects/webscene/
|
|
7
7
|
*/
|
|
8
|
-
export declare const ArcGISWebSceneLoader:
|
|
8
|
+
export declare const ArcGISWebSceneLoader: {
|
|
9
|
+
readonly dataType: ArcGISWebSceneData;
|
|
10
|
+
readonly batchType: never;
|
|
11
|
+
readonly name: "ArcGIS Web Scene Loader";
|
|
12
|
+
readonly id: "arcgis-web-scene";
|
|
13
|
+
readonly module: "i3s";
|
|
14
|
+
readonly version: any;
|
|
15
|
+
readonly mimeTypes: ["application/json"];
|
|
16
|
+
readonly parse: typeof parse;
|
|
17
|
+
readonly extensions: ["json"];
|
|
18
|
+
readonly options: {};
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Parse ArcGIS webscene
|
|
22
|
+
* @param data
|
|
23
|
+
*/
|
|
24
|
+
declare function parse(data: ArrayBuffer): Promise<ArcGISWebSceneData>;
|
|
25
|
+
export {};
|
|
9
26
|
//# sourceMappingURL=arcgis-webscene-loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arcgis-webscene-loader.d.ts","sourceRoot":"","sources":["../src/arcgis-webscene-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"arcgis-webscene-loader.d.ts","sourceRoot":"","sources":["../src/arcgis-webscene-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAmB,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAC,kBAAkB,EAAC,mBAAgB;AAQhD,MAAM,MAAM,2BAA2B,GAAG,aAAa,GAAG,EAAE,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAW4D,CAAC;AAE9F;;;GAGG;AACH,iBAAe,KAAK,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAEnE"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { parseWebscene } from "./lib/parsers/parse-arcgis-webscene.js";
|
|
2
2
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
3
3
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
4
|
-
const VERSION = typeof "4.2.0-alpha.
|
|
4
|
+
const VERSION = typeof "4.2.0-alpha.6" !== 'undefined' ? "4.2.0-alpha.6" : 'latest';
|
|
5
5
|
/**
|
|
6
6
|
* Loader for ArcGIS WebScene
|
|
7
7
|
* Spec - https://developers.arcgis.com/web-scene-specification/objects/webscene/
|
|
8
8
|
*/
|
|
9
9
|
export const ArcGISWebSceneLoader = {
|
|
10
|
+
dataType: null,
|
|
11
|
+
batchType: null,
|
|
10
12
|
name: 'ArcGIS Web Scene Loader',
|
|
11
13
|
id: 'arcgis-web-scene',
|
|
12
14
|
module: 'i3s',
|