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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Feature
Add an
Area Zoombutton to the top-right map controls.Interaction
Asset
Use the supplied icon, added to the project at
assets/icons/area-zoom.svg. The button should have an accessible name such asZoom to areaand indicate when selection mode is active.