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 map broken in Map Settings Page #13

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Fix map broken in Map Settings Page #13

merged 1 commit into from
Jul 26, 2024

Conversation

abhilash-aot
Copy link
Collaborator

@abhilash-aot abhilash-aot commented Jul 25, 2024

Description

Fix map broken in Map Settings Page data Section for data Center and data Default Map

Why is this change required? What problem does it solve?
IT fixes the bug with Map Designer setting Map Rendering Issue.
Before:
image

After Fix:
image

If it fixes an open issue, please link to the issue here.
https://bcdevex.atlassian.net/browse/FORMS-1373

Types of changes

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have run the npm script lint on the frontend and backend
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have approval from the product owner for the contribution in this pull request

Further comments

map.invalidateSize();
// Triggering a resize event after map initialization
setTimeout(() => window.dispatchEvent(new Event('resize')), 0);
Copy link
Owner

Choose a reason for hiding this comment

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

looks great!

@RyanBirtch-aot RyanBirtch-aot merged commit b5afae5 into feat-map Jul 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants