Skip to content

Fix #10295 fixed measure tool rendering in map#10331

Merged
allyoucanmap merged 2 commits intogeosolutions-it:masterfrom
MV88:10295_ui
May 20, 2024
Merged

Fix #10295 fixed measure tool rendering in map#10331
allyoucanmap merged 2 commits intogeosolutions-it:masterfrom
MV88:10295_ui

Conversation

@MV88
Copy link
Contributor

@MV88 MV88 commented May 16, 2024

  • avoiding being covered by search tool and widgets
  • both 2d and 3d
  • done similarly as in annotationsEditor using portals

Description

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?

Fix #10295

What is the new behavior?

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

* avoiding being covered by search tool and widgets
* both 2d and 3d
@MV88 MV88 added bug Internal BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch labels May 16, 2024
@MV88 MV88 added this to the 2024.01.01 milestone May 16, 2024
@MV88 MV88 requested a review from allyoucanmap May 16, 2024 09:50
@MV88 MV88 self-assigned this May 16, 2024
: <Measure {...props} />;
)(({coordsAeronauticalEnabled, ...props}) => {
return (
<div className={`measure-container${coordsAeronauticalEnabled ? " bottom-offset" : ""}`}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably it's better top-offset from the point of view of the measure toolbar.
Another possibility is to use directly inline style

@allyoucanmap allyoucanmap merged commit 0e694cd into geosolutions-it:master May 20, 2024
@allyoucanmap
Copy link
Contributor

@ElenaGallo please test on dev and let us know if we can backport, thanks

@ElenaGallo
Copy link
Contributor

Test passed, @MV88 please backport to 2024.01.xx. Thanks

MV88 added a commit to MV88/MapStore2 that referenced this pull request May 21, 2024
@ElenaGallo ElenaGallo removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label May 22, 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.

Incorrect UI when the Search by coordinates bar and Measurement tool are opened at the same time

3 participants