Add zoom-to-fit functionality to include all tracked aircraft #2
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olemd/skyview#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The current map interface lacks a convenient way to view all currently tracked aircraft simultaneously. Users must manually zoom and pan to locate aircraft that may be spread across a wide area, making it difficult to get an overview of all air traffic.
Requested Feature
Add a "Zoom to Fit" or "Show All Aircraft" button that automatically adjusts the map zoom level and center point to include all currently tracked aircraft within the visible area.
Implementation Details
Frontend (JavaScript)
Backend Considerations
User Experience
Acceptance Criteria
Files to Modify
Related
This complements the existing "Reset Map" functionality but provides a dynamic view based on actual aircraft positions rather than a fixed default view.
This functionality has been implemented and is available as the 'Center Map' button in the map controls.
Implementation Details:
map.fitBounds()with 10% padding for optimal viewingThe feature works exactly as specified in the issue requirements. The button is labeled 'Center Map' and provides the requested zoom-to-fit functionality for all tracked aircraft.