fix(#540): remove redundant bounds extension for latest location (#541)

This commit is contained in:
Daniel Graf
2025-12-08 16:44:17 +01:00
committed by GitHub
parent f81a16b3ad
commit 2ac9c91211
2 changed files with 0 additions and 7 deletions

View File

@@ -240,11 +240,6 @@ class RawLocationLoader {
}
}
// Also extend the bounds to the latest location in case no segments have been returned
if (rawPointsData.latest) {
bounds.extend([rawPointsData.latest.latitude, rawPointsData.latest.longitude])
}
// Add avatar marker for the latest point if in auto-update mode and today is selected
if (autoUpdateMode && this.isSelectedDateToday() && rawPointsData.latest) {
const latestPoint = rawPointsData.latest;

View File

@@ -402,8 +402,6 @@
// Load location data for the memory date range without bounds filtering
rawLocationLoader.loadForDateRange(
null,
null,
false, // autoUpdateMode
false // withBounds - don't filter by current map bounds
);