chore: bump to loaders.gl@4.4#9972
Conversation
| "resolutions": { | ||
| "wgsl_reflect": "^1.2.0" | ||
| "wgsl_reflect": "^1.2.0", | ||
| "@loaders.gl/core": "4.4.0-alpha.12" |
There was a problem hiding this comment.
Adding this otherwise luma.gl/gltf insists on pulling in loaders.gl@4.2 packages causing errors. Once 4.4 is fully released, this can be removed
|
Mentioning here in case it's related, but the Tiles 3D Point Cloud example seems to be broken: https://deck.gl/examples/tile-3d-layer |
|
I've been testing the point-cloud example locally and can't get it to render — just a beige screen with no console errors. What I've tried:
In all cases the Any ideas on what's needed to get parsing working with the new loader? |
|
@charlieforward9 thanks for the heads-up, see: visgl/loaders.gl#3297 |
GH page previews? |
ibgreen
left a comment
There was a problem hiding this comment.
Thanks for doing this upgrade. A few concerns noted.
@charlieforward9 I think you also did an upgrade attempt, maybe look at my. comments below and compare with approach you took?
Co-authored-by: Ib Green <7025232+ibgreen@users.noreply.github.com>
| }; | ||
| }; | ||
|
|
||
| const DEFAULT_OPTIONS: CartoPropertiesTileLoaderOptions = { |
There was a problem hiding this comment.
Should it be more maintainable to confirm this to StrictLoaderOptions?
| workerUrl: getWorkerUrl(id, VERSION) | ||
| } | ||
| }; | ||
| } as const satisfies CartoRasterTileLoaderOptions; |
There was a problem hiding this comment.
Try making the interface updates consistent?
There was a problem hiding this comment.
The type fixes were done based on earlier comments from @ibgreen - if you like open a follow-up PR to discuss, but I'm not going to address in this PR in order to get it merged
| parseSync: parseCartoSpatialTile, | ||
| worker: true, | ||
| options: DEFAULT_OPTIONS | ||
| options: DEFAULT_OPTIONS as StrictLoaderOptions |
Background
Pulls in alpha release of loaders.gl@4.4 for testing. All website examples work (Tiles 3D Point Cloud example is broken due to auth issue)
Change List
WMSImageSourceloadOptionsconfig, e.g.'core.fetch': ...