Skip to content

Commit

Permalink
fix: error extend ImageryProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
hongfaqiu committed Jun 26, 2023
1 parent c65e5b0 commit 6d0cbe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/TIFFImageryProvider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
"tslib": "^2.5.0",
"typescript": "4.8.4"
},
"gitHead": "d8e3c03bd4dc41e1e11abcefb7fd3f1611c2f31e"
"gitHead": "c65e5b06ec73a88f94062a099a707846895f877e"
}
3 changes: 1 addition & 2 deletions packages/TIFFImageryProvider/src/TIFFImageryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function getWorkerPool() {
return workerPool;
}

export class TIFFImageryProvider extends ImageryProvider {
export class TIFFImageryProvider {
ready: boolean;
tilingScheme: GeographicTilingScheme;
rectangle: Rectangle;
Expand Down Expand Up @@ -169,7 +169,6 @@ export class TIFFImageryProvider extends ImageryProvider {
/** Deprecated */
url?: string | File | Blob;
}) {
super();
this.hasAlphaChannel = options.hasAlphaChannel ?? true;
this.maximumLevel = options.maximumLevel ?? 18;
this.minimumLevel = options.minimumLevel ?? 0;
Expand Down

0 comments on commit 6d0cbe9

Please sign in to comment.