@loaders.gl/tile-converter 4.2.0-alpha.6 → 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.
@@ -1,4 +1,4 @@
1
- import type { LoaderWithParser, LoaderOptions } from '@loaders.gl/loader-utils';
1
+ import type { LoaderOptions } from '@loaders.gl/loader-utils';
2
2
  import { Geoid } from '@math.gl/geoid';
3
3
  export { Geoid };
4
4
  export type PGMLoaderOptions = LoaderOptions & {
@@ -9,5 +9,20 @@ export type PGMLoaderOptions = LoaderOptions & {
9
9
  /**
10
10
  * Loader for PGM - Netpbm grayscale image format
11
11
  */
12
- export declare const PGMLoader: LoaderWithParser<Geoid, never, PGMLoaderOptions>;
12
+ export declare const PGMLoader: {
13
+ readonly dataType: Geoid;
14
+ readonly batchType: never;
15
+ readonly name: "PGM - Netpbm grayscale image format";
16
+ readonly id: "pgm";
17
+ readonly module: "tile-converter";
18
+ readonly version: any;
19
+ readonly mimeTypes: ["image/x-portable-graymap"];
20
+ readonly parse: (arrayBuffer: ArrayBuffer, options: PGMLoaderOptions | undefined) => Promise<Geoid>;
21
+ readonly extensions: ["pgm"];
22
+ readonly options: {
23
+ readonly pgm: {
24
+ readonly cubic: false;
25
+ };
26
+ };
27
+ };
13
28
  //# sourceMappingURL=pgm-loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pgm-loader.d.ts","sourceRoot":"","sources":["../src/pgm-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAC,KAAK,EAAW,MAAM,gBAAgB,CAAC;AAM/C,OAAO,EAAC,KAAK,EAAC,CAAC;AAEf,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAC7C,GAAG,CAAC,EAAE;QACJ,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,gBAAgB,CAatE,CAAC"}
1
+ {"version":3,"file":"pgm-loader.d.ts","sourceRoot":"","sources":["../src/pgm-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAC,KAAK,EAAW,MAAM,gBAAgB,CAAC;AAM/C,OAAO,EAAC,KAAK,EAAC,CAAC;AAEf,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAC7C,GAAG,CAAC,EAAE;QACJ,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CAgB+C,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import { Geoid, parsePGM } from '@math.gl/geoid';
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.5" !== 'undefined' ? "4.2.0-alpha.5" : 'latest';
4
+ const VERSION = typeof "4.2.0-alpha.6" !== 'undefined' ? "4.2.0-alpha.6" : 'latest';
5
5
  export { Geoid };
6
6
  /**
7
7
  * Loader for PGM - Netpbm grayscale image format
8
8
  */
9
9
  export const PGMLoader = {
10
+ dataType: null,
11
+ batchType: null,
10
12
  name: 'PGM - Netpbm grayscale image format',
11
13
  id: 'pgm',
12
14
  module: 'tile-converter',