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.02.xx] Fix #9814 Further issue with visibility limits in master (#9817) #9820

Merged

Conversation

allyoucanmap
Copy link
Contributor

Description

This PR reverts the formula introduced in #9777 to compute the zoom level because it is not reliable. The formula needs the globe ready and in some cases it's not at the initialization of a map viewer causing a computation of the zoom with the old formula as fallback. The difference between the new and old formula results increases when the camera is tilted as in the described scenario in the issue.

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?

#9814

What is the new behavior?

Revert computation of zoom level in cesium implementation

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 C027-COMUNE_FI-2023-SUPPORT labels Dec 15, 2023
@allyoucanmap allyoucanmap self-assigned this Dec 15, 2023
@allyoucanmap allyoucanmap added this to the 2023.02.02 milestone Dec 15, 2023
@allyoucanmap allyoucanmap linked an issue Dec 15, 2023 that may be closed by this pull request
1 task
@tdipisa tdipisa merged commit 488cec0 into geosolutions-it:2023.02.xx Dec 15, 2023
6 checks passed
@tdipisa
Copy link
Member

tdipisa commented Dec 15, 2023

@ElenaGallo please test also in QA.

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 C027-COMUNE_FI-2023-SUPPORT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Further issue with visibility limits in master
2 participants