fix: avoid gaps in route

This commit is contained in:
Ben Goldsworthy 2023-05-18 12:10:13 -06:00
parent fed8dab57c
commit 42fb68759e

View file

@ -59,7 +59,7 @@
attribution: 'OpenStreetMap' attribution: 'OpenStreetMap'
}).addTo(map); }).addTo(map);
@for($idx = 0; $idx <= count($trip->locations); $idx += 100) @for($idx = 0; $idx <= count($trip->locations); $idx += 99)
/* /*
* Populate the route line. * Populate the route line.
*/ */