Skip to content

Commit

Permalink
Decrease break distance and time a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Zverik committed May 19, 2024
1 parent 988dcaf commit d25b854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/providers/path.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ final pathProvider = StateNotifierProvider<PathController, List<LatLng>>(

class PathController extends StateNotifier<List<LatLng>> {
static const kPathKey = 'path';
static const kBreakInterval = Duration(minutes: 30);
static const kBreakDistance = 300; // meters
static const kBreakInterval = Duration(minutes: 20);
static const kBreakDistance = 200; // meters
static const kMaxPoints = 1000;

final Ref _ref;
Expand Down

0 comments on commit d25b854

Please sign in to comment.