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

@@ -120,11 +120,11 @@ class PirepController extends Controller
return redirect(route('frontend.pirep.index'));
}
$coords = $this->geoSvc->pirepGeoJson($pirep);
$map_featuers = $this->geoSvc->pirepGeoJson($pirep);
return $this->view('pireps.show', [
'pirep' => $pirep,
'coords' => $coords,
'map_features' => $map_featuers,
]);
}
}