Output PIREP map with just the dep/arr airports for now

This commit is contained in:
Nabeel Shahzad
2017-12-20 11:28:21 -06:00
parent eac3b256b3
commit e5278bc0bf
10 changed files with 812 additions and 69 deletions

View File

@@ -11,9 +11,11 @@
@section('scripts')
<script type="text/javascript">
phpvms.render_airspace_map({
lat: {!! $pirep->arr_airport->lat !!},
lon: {!! $pirep->arr_airport->lon !!},
});
let opts = {
features: {!! json_encode($coords['features']); !!},
};
phpvms.render_route_map(opts);
</script>
@endsection