Solved bugs
parent
0f12a46bc8
commit
c6d6bb430b
|
@ -32,6 +32,8 @@ footer {
|
|||
}
|
||||
}
|
||||
|
||||
.ui-autocomplete.ui-menu .ui-menu-item.ui-state-focus { background-color: rgba(0,0,0,0.4); }
|
||||
|
||||
#map{
|
||||
width: 85%;
|
||||
height: 650px;
|
||||
|
|
|
@ -603,9 +603,10 @@ var array2;
|
|||
travelMode: 'DRIVING'
|
||||
}, function(response, status) {
|
||||
if (status === 'OK') {
|
||||
directionsDisplay.setDirections(response);
|
||||
var route = response.routes[0];
|
||||
routePoints = route;
|
||||
directionsDisplay.setDirections(response);
|
||||
var route = response.routes[0];
|
||||
routePoints = route;
|
||||
//console.table(routePoints);
|
||||
//console.table(route);
|
||||
//console.log(tempOrigin);
|
||||
//console.log(tempDestination);
|
||||
|
@ -678,7 +679,7 @@ var array2;
|
|||
stopover: true,
|
||||
//location: new google.maps.LatLng(51.263439, 1.03489)
|
||||
}],*/
|
||||
avoidTolls: !$('#upPaidRoads').is(':checked'),
|
||||
avoidTolls: $('#upPaidRoads').is(':checked'),
|
||||
travelMode: google.maps.TravelMode.DRIVING
|
||||
}, function(response, status) {
|
||||
if (status === google.maps.DirectionsStatus.OK) {
|
||||
|
@ -794,6 +795,7 @@ markers[0].forEach(function(marker){
|
|||
location:currentMarker.position,
|
||||
stopover: true
|
||||
});
|
||||
|
||||
calculateAndDisplayRoute(directionsService, directionsDisplay);
|
||||
});
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
{{csrf_field()}}
|
||||
<div class="col-lg-6">
|
||||
<div class="form-group">
|
||||
<label for="district">Distrito(s): </label>
|
||||
<label for="district">Distrito: </label>
|
||||
<input class="form-control" id="district" name="district" type="text" @if(Auth::user() && isset($location)) value="$location" @endif>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<label for="nome">Preço: </label>
|
||||
{{$station->fuelPrice}}
|
||||
|
||||
<a href="{{route('stationDetails', $station->stationId)}}">Station Details</a>
|
||||
<a href="{{route('stationDetails', $station->stationId)}}">Detalhes</a>
|
||||
|
||||
<!--<button type="button" class="btn btn-link" style="float:right">Detalhes</button>-->
|
||||
<img src="../../files/{{$key+1}}.jpg"></img>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<div class="col-lg-6">
|
||||
|
||||
<div class="list-group" id="vehicleList">
|
||||
<div class="list-group" id="vehicleList" style="color:black">
|
||||
|
||||
@if($vehicles)
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="col-lg-6" style="color:black">
|
||||
<div class="container-fluid">
|
||||
|
||||
<form method="post" action="{{route('selectVehicle')}}">
|
||||
|
|
Loading…
Reference in New Issue