feat: add map time filtering function and optimized location processing

This commit is contained in:
Nedifinita
2025-09-27 00:14:24 +08:00
parent b1d8d5e029
commit c3e97332fd
5 changed files with 509 additions and 125 deletions

View File

@@ -319,6 +319,10 @@ class BLEService {
'${now.millisecondsSinceEpoch}_${Random().nextInt(9999)}';
recordData['receivedTimestamp'] = now.millisecondsSinceEpoch;
if (!recordData.containsKey('timestamp')) {
recordData['timestamp'] = now.millisecondsSinceEpoch;
}
_lastReceivedTime = now;
_lastReceivedTimeController.add(_lastReceivedTime);