Move documentation to docs/ directory and improve terminology
- Move ARCHITECTURE.md and CLAUDE.md to docs/ directory - Replace "real-time" terminology with accurate "low-latency" and "high-performance" - Update README to reflect correct performance characteristics - Add comprehensive ICAO country database with SQLite backend - Fix display options positioning and functionality - Add map scale controls and improved range ring visibility - Enhance aircraft marker orientation and trail management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
43e55b2ba0
commit
20bdcf54ec
15 changed files with 746 additions and 67 deletions
|
|
@ -46,6 +46,13 @@ export class MapManager {
|
|||
maxZoom: 19
|
||||
}).addTo(this.map);
|
||||
|
||||
// Add scale control for distance estimation
|
||||
L.control.scale({
|
||||
metric: true,
|
||||
imperial: true,
|
||||
position: 'bottomright'
|
||||
}).addTo(this.map);
|
||||
|
||||
return this.map;
|
||||
}
|
||||
|
||||
|
|
@ -67,6 +74,13 @@ export class MapManager {
|
|||
this.coverageTileLayer = L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
}).addTo(this.coverageMap);
|
||||
|
||||
// Add scale control for distance estimation
|
||||
L.control.scale({
|
||||
metric: true,
|
||||
imperial: true,
|
||||
position: 'bottomright'
|
||||
}).addTo(this.coverageMap);
|
||||
}
|
||||
|
||||
return this.coverageMap;
|
||||
|
|
@ -151,9 +165,9 @@ export class MapManager {
|
|||
radius: range,
|
||||
fillColor: 'transparent',
|
||||
color: '#00d4ff',
|
||||
weight: 1,
|
||||
opacity: 0.3 - (index * 0.1),
|
||||
dashArray: '5,5'
|
||||
weight: 2,
|
||||
opacity: 0.7 - (index * 0.15),
|
||||
dashArray: '8,4'
|
||||
}).addTo(this.map);
|
||||
|
||||
this.rangeCircles.set(`${id}_${range}`, circle);
|
||||
|
|
@ -345,4 +359,14 @@ export class MapManager {
|
|||
setSelectedSource(sourceId) {
|
||||
this.selectedSource = sourceId;
|
||||
}
|
||||
|
||||
getSourcePositions() {
|
||||
const positions = [];
|
||||
for (const [id, source] of this.sourcesData) {
|
||||
if (source.latitude && source.longitude) {
|
||||
positions.push([source.latitude, source.longitude]);
|
||||
}
|
||||
}
|
||||
return positions;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue