mirror of
https://github.com/azaion/gps-denied-desktop.git
synced 2026-04-22 17:06:36 +00:00
improving components consistency
This commit is contained in:
@@ -454,7 +454,7 @@ TileBounds:
|
||||
**Description**: Clears cached tiles for a completed flight.
|
||||
|
||||
**Called By**:
|
||||
- F02 Flight Manager (cleanup after flight completion)
|
||||
- F02 Flight Processor (cleanup after flight completion)
|
||||
|
||||
**Input**:
|
||||
```python
|
||||
@@ -516,6 +516,13 @@ bool: True if cleared successfully
|
||||
### Internal Components
|
||||
- **H06 Web Mercator Utils**: Tile coordinate calculations
|
||||
|
||||
**Note on Tile Coordinate Calculations**: F04 delegates ALL tile coordinate calculations to H06 Web Mercator Utils:
|
||||
- `compute_tile_coords()` → internally calls `H06.latlon_to_tile()`
|
||||
- `compute_tile_bounds()` → internally calls `H06.compute_tile_bounds()`
|
||||
- `get_tile_grid()` → uses H06 for coordinate math
|
||||
|
||||
This ensures single source of truth for Web Mercator projection logic and avoids duplication with H06.
|
||||
|
||||
### External Dependencies
|
||||
- **Satellite Provider API**: HTTP tile source
|
||||
- **requests** or **httpx**: HTTP client
|
||||
|
||||
Reference in New Issue
Block a user