Add Area Zoom map control #7

Closed
opened 2026-07-22 05:50:19 +00:00 by jfig · 0 comments
Owner

Feature

Add an Area Zoom button to the top-right map controls.

Interaction

  • When the button is pressed, enable area-selection mode.
  • The user can click and drag on the map to draw a rectangle.
  • On mouse-button release, zoom the map to the selected rectangle.
  • Provide a way to cancel or exit selection mode and preserve the existing map controls.

Asset

Use the supplied icon, added to the project at assets/icons/area-zoom.svg. The button should have an accessible name such as Zoom to area and indicate when selection mode is active.

### Feature Add an `Area Zoom` button to the top-right map controls. ### Interaction - When the button is pressed, enable area-selection mode. - The user can click and drag on the map to draw a rectangle. - On mouse-button release, zoom the map to the selected rectangle. - Provide a way to cancel or exit selection mode and preserve the existing map controls. ### Asset Use the supplied icon, added to the project at `assets/icons/area-zoom.svg`. The button should have an accessible name such as `Zoom to area` and indicate when selection mode is active.
jfig closed this issue 2026-07-22 08:44:44 +00:00
Sign in to join this conversation.