Skip to content

Commit

Permalink
Add XYZ Tiles Plugin (#960)
Browse files Browse the repository at this point in the history
* Add initial xyz plugin

* update

* Update XYZ tiles

* comment update

* Add XYZTilesPlugin, share base implementation

* Remove log, delete origin DZI plugin
  • Loading branch information
gkjohnson authored Feb 7, 2025
1 parent 6a58034 commit 50a7e8c
Show file tree
Hide file tree
Showing 6 changed files with 344 additions and 225 deletions.
2 changes: 1 addition & 1 deletion src/plugins/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export { BatchedTilesPlugin } from './three/batched/BatchedTilesPlugin';
export * from './three/DebugTilesPlugin';

// other formats
export { DeepZoomImagePlugin } from './three/DeepZoomImagePlugin';
export * from './three/ImageFormatPlugin';

// common plugins
export { ImplicitTilingPlugin } from './base/ImplicitTilingPlugin';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export { BatchedTilesPlugin } from './three/batched/BatchedTilesPlugin.js';
export * from './three/DebugTilesPlugin.js';

// other formats
export { DeepZoomImagePlugin } from './three/DeepZoomImagePlugin.js';
export * from './three/ImageFormatPlugin.js';

// common plugins
export { ImplicitTilingPlugin } from './base/ImplicitTilingPlugin.js';
Expand Down
8 changes: 0 additions & 8 deletions src/plugins/three/DeepZoomImagePlugin.d.ts

This file was deleted.

215 changes: 0 additions & 215 deletions src/plugins/three/DeepZoomImagePlugin.js

This file was deleted.

19 changes: 19 additions & 0 deletions src/plugins/three/ImageFormatPlugin.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export class DeepZoomImagePlugin {

constructor( options: {
center?: boolean,
pixelSize?: number,
} );

}

export class XYZTilesPlugin {

constructor( options: {
center?: boolean,
pixelSize?: number,
levels?: number,
tileDimension?: number,
} );

}
Loading

0 comments on commit 50a7e8c

Please sign in to comment.