Clean up excessive console logging and remove duplicate app files
- Remove verbose console.log statements from WebSocket, map, and aircraft managers - Keep essential error messages and warnings for debugging - Consolidate app-new.js into app.js to eliminate confusing duplicate files - Update HTML reference to use clean app.js with incremented cache version - Significantly reduce console noise for better user experience 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e51af89d84
commit
776cef1185
7 changed files with 174 additions and 1415 deletions
|
|
@ -32,7 +32,6 @@ export class MapManager {
|
|||
// Store origin for reset functionality
|
||||
this.mapOrigin = origin;
|
||||
|
||||
console.log(`🗺️ Map origin: [${origin.latitude}, ${origin.longitude}]`);
|
||||
this.map = L.map('map').setView([origin.latitude, origin.longitude], 10);
|
||||
|
||||
// Dark tile layer
|
||||
|
|
@ -42,7 +41,6 @@ export class MapManager {
|
|||
maxZoom: 19
|
||||
}).addTo(this.map);
|
||||
|
||||
console.log('Main map initialized');
|
||||
return this.map;
|
||||
}
|
||||
|
||||
|
|
@ -307,7 +305,6 @@ export class MapManager {
|
|||
createHeatmapOverlay(data) {
|
||||
// Simplified heatmap implementation
|
||||
// In production, would use proper heatmap library like Leaflet.heat
|
||||
console.log('Creating heatmap overlay with data:', data);
|
||||
}
|
||||
|
||||
setSelectedSource(sourceId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue