Skip to content

Search by coordinate in 3D mode issue #10063#10576

Merged
offtherailz merged 1 commit intogeosolutions-it:masterfrom
rowheat02:fix/3djumptosearchcoordinate
Oct 4, 2024
Merged

Search by coordinate in 3D mode issue #10063#10576
offtherailz merged 1 commit intogeosolutions-it:masterfrom
rowheat02:fix/3djumptosearchcoordinate

Conversation

@rowheat02
Copy link
Copy Markdown
Contributor

@rowheat02 rowheat02 commented Oct 1, 2024

Description

fixes #10063
vieweOptions had been prioritised in _updateMapPositionFromNewProps which was creating problem before.

Please check if the PR fulfills these requirements

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

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?

#10063
The map did not jump into the searched coordinates in the 3D map.

What is the new behavior?

After the search through coordinate the map jump into that coordinate

Breaking change

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

  • Yes, and I documented them in migration notes
  • No

Other useful information

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since viewerOptions coordinates were winning in this part. I don't think we need this in _updateMapPositionFromNewProps as viewerOptions logic is handled in componentDidMount to update the map after saving. @allyoucanmap

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking for the reason of that code, I recovered these changes in PR by @allyoucanmap

Now. I tested by trying to save and the positlion looks anyway to be preserved.
So it LGTM.

@allyoucanmap allyoucanmap reopened this Oct 1, 2024
@tdipisa tdipisa requested a review from offtherailz October 3, 2024 09:38
@rowheat02 rowheat02 marked this pull request as ready for review October 3, 2024 10:04
@rowheat02 rowheat02 self-assigned this Oct 3, 2024
@rowheat02 rowheat02 added this to the 2024.02.01 milestone Oct 3, 2024
Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look to work correctly.

@offtherailz offtherailz merged commit 537fbef into geosolutions-it:master Oct 4, 2024
@offtherailz offtherailz added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 4, 2024
@offtherailz
Copy link
Copy Markdown
Member

@ElenaGallo, could you please test this on DEV ? Thank you

@ElenaGallo
Copy link
Copy Markdown
Contributor

Test passed, @rowheat02 please backport to 2024.02.xx. Thanks

@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 8, 2024
offtherailz pushed a commit that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search by coordinate in 3D mode

5 participants