From 42fb68759ee344ed3bd2ba2b4d678cad15f4a008 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Thu, 18 May 2023 12:10:13 -0600 Subject: [PATCH] fix: avoid gaps in route --- resources/views/tracker.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/tracker.blade.php b/resources/views/tracker.blade.php index c7435a9..08267a5 100644 --- a/resources/views/tracker.blade.php +++ b/resources/views/tracker.blade.php @@ -59,7 +59,7 @@ attribution: 'OpenStreetMap' }).addTo(map); - @for($idx = 0; $idx <= count($trip->locations); $idx += 100) + @for($idx = 0; $idx <= count($trip->locations); $idx += 99) /* * Populate the route line. */