add: Modem model # now its own config. allowing for different options on different model #s

This commit is contained in:
serversdwn
2026-02-02 21:15:27 +00:00
parent 305540f564
commit 24da5ab79f
4 changed files with 307 additions and 20 deletions

View File

@@ -604,8 +604,9 @@ function updateFleetMapFiltered(allUnits) {
}
});
// Fit bounds if we have markers
if (bounds.length > 0) {
// Only fit bounds on initial load, not on subsequent updates
// This preserves the user's current map view when auto-refreshing
if (bounds.length > 0 && !fleetMapInitialized) {
const padding = window.innerWidth < 768 ? [20, 20] : [50, 50];
fleetMap.fitBounds(bounds, { padding: padding });
fleetMapInitialized = true;