Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Available gets removed from layer.json before it is sent #27

Open
crocij opened this issue Mar 31, 2022 · 1 comment
Open

Available gets removed from layer.json before it is sent #27

crocij opened this issue Mar 31, 2022 · 1 comment

Comments

@crocij
Copy link

crocij commented Mar 31, 2022

I ran into a problem regarding the layer.json that is handed out by the server. Currently the available array is removed from the sent json object. This prevents CesiumJs from rendering the terrain. A fix for testing is to manually add the available field in node_modules/cesium/Source/Core/CesiumTerrainProvider.js in the function parseMetadataSuccess to the data object.

@crocij crocij changed the title layer.json gets butchered Available gets removed from layer.json before it is sent Mar 31, 2022
@esagulto
Copy link

Hello, I also have the same problem. Using the docker container sends out all the data needed in the layer.json. The only problem is that when using the docker container, the terrain does not load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants