Fix for polyline encoding

This commit is contained in:
Ben Goldsworthy 2023-01-10 20:00:48 +00:00
parent 87a0d95435
commit c55d572ec4
2 changed files with 52 additions and 2 deletions

View file

@ -63,7 +63,7 @@
var routePoints = L.polyline([
@foreach($trip->locations as $location)
@if(!in_array($location->id, config('app.current_trip_ignore')))
[{{ $location->latitude }}, {{ $location->longitude }}],
[{{ $location->latitude }}, {{ $location->longitude }}], // {{$location->id}}
@endif
@endforeach
], {