Add markers for the navpoints on the flight and pirep maps

This commit is contained in:
Nabeel Shahzad
2017-12-24 17:38:38 -06:00
parent a5196136dc
commit 70b1476e93
8 changed files with 160 additions and 56 deletions

View File

@@ -127,11 +127,11 @@ class FlightController extends AppBaseController
return redirect(route('frontend.dashboard.index'));
}
$coords = $this->geoSvc->flightGeoJson($flight);
$map_features = $this->geoSvc->flightGeoJson($flight);
return $this->view('flights.show', [
'flight' => $flight,
'coords' => $coords,
'map_features' => $map_features,
]);
}
}