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

[Backport 2023.01.xx] Fix #9189 3d height from terrain not working with cesium terrain provider (#9191) #9192

Merged

Conversation

allyoucanmap
Copy link
Contributor

Description

This PR fixes a problem due to the missing .catch method in the default terrain provider. Cesium.sampleTerrainMostDetailed is using a promise implemented with the when.js library that does not exposes the catch method. There was a similar issue with the leader line style that is using the same method

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?

#9189

What is the new behavior?

It is possible to use the measure height from terrain and leader line style also with cesium terrain provider

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • No

Other useful information

@allyoucanmap allyoucanmap added bug Backport 3D All issues related to the 3D rendering in CesiumJs labels May 24, 2023
@allyoucanmap allyoucanmap added this to the 2023.01.02 milestone May 24, 2023
@allyoucanmap allyoucanmap self-assigned this May 24, 2023
@allyoucanmap allyoucanmap linked an issue May 24, 2023 that may be closed by this pull request
@tdipisa tdipisa merged commit 8b2dbc5 into geosolutions-it:2023.01.xx May 25, 2023
@tdipisa
Copy link
Member

tdipisa commented May 25, 2023

@ElenaGallo backport just merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D All issues related to the 3D rendering in CesiumJs Backport bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3d height from terrain not working with cesium terrain provider
2 participants