mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-31 07:44:05 +00:00
fix: don't fitBounds on initial load — respect Bay Area default center
This commit is contained in:
+2
-1
@@ -209,7 +209,8 @@
|
||||
buildJumpButtons();
|
||||
|
||||
renderMarkers();
|
||||
if (!userHasMoved) fitBounds();
|
||||
// Don't fitBounds on initial load — respect the Bay Area default or saved view
|
||||
// Only fitBounds on subsequent data refreshes if user hasn't manually panned
|
||||
} catch (e) {
|
||||
console.error('Map load error:', e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user