remove specific location overrides
This commit is contained in:
parent
9d66c4b21d
commit
5a1c2cbf35
1 changed files with 1 additions and 5 deletions
|
@ -65,11 +65,7 @@
|
||||||
L.polyline([
|
L.polyline([
|
||||||
@foreach(array_slice($trip->locations, $idx, 100) as $location)
|
@foreach(array_slice($trip->locations, $idx, 100) as $location)
|
||||||
@if(!in_array($location->id, config('app.current_trip_ignore')))
|
@if(!in_array($location->id, config('app.current_trip_ignore')))
|
||||||
@if(in_array($location->id, [19014, 19015, 19016, 19017, 19018, 19019]))
|
[{{ $location->latitude }}, {{ $location->longitude }}],
|
||||||
[9.071389, -79.383611],
|
|
||||||
@else
|
|
||||||
[{{ $location->latitude }}, {{ $location->longitude }}],
|
|
||||||
@endif
|
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
], {
|
], {
|
||||||
|
|
Loading…
Reference in a new issue