Closed techtruth closed 46 minutes ago
@techtruth Thanks for reporting. Seems like an small fix. Do need to keep the old way of getting url working as well?
Not sure if we have any maintainer who is working on 3D Tiles right now and is ready to jump on this, so... would you be interested in making a PR?
@dsavinov-actionengine @belom88
You can probably try to just modify the CesiumIONLoader object in your own app, or copy it and create your own CesiumIONLoader and verify that the fix works before making a PR.
https://github.com/visgl/loaders.gl/pull/3128 << Created this PR, let me know if you find it helpful. :)
Loader
CesiumIonLoader (preload) then Tiles3DLoader
Description
It appears the metadata structure returned from CesiumIon has changed... When calling CesiumIonLoader.preload, it seems that the ionAssetMetadata object now has its 'url' value under 'options' such that 'options.url' is the intended value...
I am unsure when this changed, but I believe this is a change from the cesium api.
The code below is in loaders.gl and in this case url is always undefined.