@loaders.gl/i3s
Version:
i3s .
33 lines • 1.13 kB
TypeScript
import type { LoaderOptions } from '@loaders.gl/loader-utils';
/** options to load data from SLPK */
export type SLPKLoaderOptions = LoaderOptions & {
slpk?: {
/** path inside the slpk archive */
path?: string;
/** mode of the path */
pathMode?: 'http' | 'raw';
};
};
/**
* Loader for SLPK - Scene Layer Package (Archive I3S format)
* @todo - this reloads the entire archive for every tile, should be optimized
* @todo - this should be updated to use `parseFile` and ReadableFile
*/
export declare const SLPKLoader: {
readonly dataType: ArrayBuffer;
readonly batchType: never;
readonly name: "I3S SLPK (Scene Layer Package)";
readonly id: "slpk";
readonly module: "i3s";
readonly version: any;
readonly mimeTypes: ["application/octet-stream"];
readonly extensions: ["slpk"];
readonly options: {
readonly slpk: {
readonly path: "";
readonly pathMode: undefined;
};
};
readonly parse: (data: ArrayBuffer, options?: SLPKLoaderOptions) => Promise<ArrayBuffer>;
};
//# sourceMappingURL=i3s-slpk-loader.d.ts.map