Skip to content

UI/remove zoom buttons - #785

Merged
louis-e merged 4 commits into
mainfrom
ui/remove-zoom-buttons
Mar 14, 2026
Merged

louis-e merged 4 commits into
mainfrom
ui/remove-zoom-buttons

Conversation

@louis-e

@louis-e louis-e commented Mar 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2026 17:54
@louis-e
louis-e merged commit d64b4d9 into main Mar 14, 2026
3 of 4 checks passed
@louis-e
louis-e deleted the ui/remove-zoom-buttons branch March 14, 2026 17:55

Copilot AI left a comment

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.

Pull request overview

This PR updates the Leaflet map UI in the GUI bbox picker to remove the default zoom (+/−) buttons, aligning with the “UI/remove zoom buttons” goal.

Changes:

  • Disable Leaflet’s built-in zoom control via L.map(..., { zoomControl: false }).
  • Remove an unused geolocation click handler from bbox.js.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/gui/js/bbox.js
Comment on lines 1236 to 1238
crosshair.setLatLng(map.getCenter());
});

@github-actions

Copy link
Copy Markdown

⏱️ Benchmark run finished in 0m 25s
🧠 Peak memory usage: 1102 MB

📈 Compared against baseline: 30s
🧮 Delta: -5s
🔢 Commit: 3c45550

⚠️ This PR worsens generation time.

📅 Last benchmark: 2026-03-14 17:58:34 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

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