Skip to content

PB-486: Fix print area when map is rotated#836

Merged
ismailsunni merged 4 commits intodevelopfrom
fix-486-rotating-map-print-area
May 15, 2024
Merged

PB-486: Fix print area when map is rotated#836
ismailsunni merged 4 commits intodevelopfrom
fix-486-rotating-map-print-area

Conversation

@ismailsunni
Copy link
Contributor

@ismailsunni ismailsunni commented May 14, 2024

The previous code from the old geoadmin was working by chance and when there is an internal change in the OpenLayers, it breaks. See the further discussion openlayers/openlayers#15820

Test link

@github-actions github-actions bot added the bug label May 14, 2024
@cypress
Copy link

cypress bot commented May 14, 2024

Passing run #2163 ↗︎

0 204 20 0 Flakiness 0

Details:

PB-486: Remove header heihgt from the print area calculation.
Project: web-mapviewer Commit: 2f29ff9079
Status: Passed Duration: 05:28 💡
Started: May 15, 2024 11:18 PM Ended: May 15, 2024 11:24 PM

Review all test suite changes for PR #836 ↗︎

@ismailsunni ismailsunni force-pushed the fix-486-rotating-map-print-area branch from df65305 to 9aa0811 Compare May 14, 2024 04:41
@ismailsunni ismailsunni marked this pull request as ready for review May 14, 2024 04:44
Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

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

Looks good, just one issue

  1. Open print menu
  2. Switch to 3d
  3. Rotate the map
  4. Exit 3d
  5. Go back to print => no print layout
  6. close print and reopen again => print layer
    Maybe force the closing of the print menu when entering 3d.

@ismailsunni ismailsunni force-pushed the fix-486-rotating-map-print-area branch from a76b478 to cd187e0 Compare May 15, 2024 01:47
@ismailsunni
Copy link
Contributor Author

@ltshb done

@ismailsunni ismailsunni force-pushed the fix-486-rotating-map-print-area branch from cd187e0 to 2f29ff9 Compare May 15, 2024 23:15
@ismailsunni ismailsunni merged commit cf84e12 into develop May 15, 2024
@ismailsunni ismailsunni deleted the fix-486-rotating-map-print-area branch May 15, 2024 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants