UNPKG

@loaders.gl/i3s

Version:
28 lines 1.02 kB
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 parse: (data: ArrayBuffer, options?: SLPKLoaderOptions) => Promise<ArrayBuffer>; }; //# sourceMappingURL=i3s-slpk-loader.d.ts.map