Skip to content

Improve experimental OpenLayers viewer controls - #1124

Draft
Demir-B wants to merge 50 commits into
developfrom
feature/openlayers-viewer-controls
Draft

Improve experimental OpenLayers viewer controls#1124
Demir-B wants to merge 50 commits into
developfrom
feature/openlayers-viewer-controls

Conversation

@Demir-B

@Demir-B Demir-B commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR improves the controls and user interface of the experimental OpenLayers viewer used by visualize-beta.

Changes

  • The experimental viewer has a new UI with more consistent styling and behaviour across the main controls.
  • The overview map now consistently displays the full slide together with the current viewport.
  • The layer editor UI has been improved while keeping the existing visibility, opacity and layer-ordering functionality.
  • New zoom-level display alongside the existing zoom controls.
  • New viewer information panel for displaying basic viewer information (WIP).
  • Added a small margin around the slide extent to make panning near slide boundaries more comfortable, easy to tweak this margin.
  • Improvements to the UI behaviour when loading, switching and removing slides, including the empty-viewer state.

The experimental viewer was also manually checked across slide loading/switching/removal, zooming and panning, overview-map behaviour, rotation, fullscreen, graticules and layer controls.

Screenshot of the new viewer:

image

Demir-B and others added 30 commits August 6, 2026 11:39
This is meant to after managing OpenLayers dependencies so I can use later versions.
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.90%. Comparing base (8d13267) to head (fea567d).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1124   +/-   ##
========================================
  Coverage    99.90%   99.90%           
========================================
  Files           93       93           
  Lines        11911    11911           
  Branches      1562     1562           
========================================
  Hits         11900    11900           
  Misses           5        5           
  Partials         6        6           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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