Skip to content

Fix #10835 fix load map error - #10842

Closed
MV88 wants to merge 1 commit into
geosolutions-it:masterfrom
MV88:10835_err
Closed

MV88 wants to merge 1 commit into
geosolutions-it:masterfrom
MV88:10835_err

Conversation

@MV88

@MV88 MV88 commented Feb 21, 2025 •

Copy link
Copy Markdown
Contributor

Description

with this implementation the map does not go in loop

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 #10835

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

@MV88 MV88 added this to the 2025.01.00 milestone Feb 21, 2025
@MV88
MV88 requested a review from tdipisa February 21, 2025 15:37
@MV88 MV88 linked an issue Feb 21, 2025 that may be closed by this pull request
1 task done
@tdipisa
tdipisa requested review from allyoucanmap and removed request for tdipisa February 21, 2025 15:59
}
const centerIsUpdated = this.isNearlyEqual(newProps.center.y, this.props.center.y) &&
this.isNearlyEqual(newProps.center.x, this.props.center.x);
const centerIsUpdated = !isEqual(newProps.center, this.props.center);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I did additional test locally, with this fix seems to work but as soon as I move the map there is a tile reload

tile-reload.mp4

tested also with:

const centerIsUpdated = newProps.center !== this.props.center;

but it seems the same

I think for the moment is better to revert the commit

@tdipisa

tdipisa commented Feb 21, 2025

Copy link
Copy Markdown
Member

@MV88 I'm going to close this and merge a the revert PR to unblock DEV state. Please provide a new PR with a proper fix asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants