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

Fix #9814 Further issue with visibility limits in master #9817

Merged
merged 1 commit into from
Dec 14, 2023

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 3D All issues related to the 3D rendering in CesiumJs C027-COMUNE_FI-2023-SUPPORT labels Dec 14, 2023
@allyoucanmap allyoucanmap added this to the 2023.02.02 milestone Dec 14, 2023
@allyoucanmap allyoucanmap self-assigned this Dec 14, 2023
@allyoucanmap allyoucanmap linked an issue Dec 14, 2023 that may be closed by this pull request
1 task
@tdipisa tdipisa requested review from MV88 and dsuren1 and removed request for MV88 December 14, 2023 10:31
@dsuren1 dsuren1 merged commit bb31d41 into geosolutions-it:master Dec 14, 2023
6 checks passed
@dsuren1
Copy link
Contributor

dsuren1 commented Dec 15, 2023

@ElenaGallo Kindly test this fix in DEV. Thanks!

@ElenaGallo ElenaGallo added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Dec 15, 2023
@ElenaGallo
Copy link
Contributor

Test passed, @allyoucanmap please backport to 2023.02.xx. Thanks!

allyoucanmap added a commit to allyoucanmap/MapStore2 that referenced this pull request Dec 15, 2023
@allyoucanmap allyoucanmap removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Dec 15, 2023
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 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
3 participants