2017-12-20 07:30:30 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2017-12-27 05:26:12 +08:00
|
|
|
<h3 class="description">flight map</h3>
|
2017-12-20 07:30:30 +08:00
|
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="box-body">
|
|
|
|
<div id="map" style="width: 100%; height: 800px"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@section('scripts')
|
|
|
|
<script type="text/javascript">
|
2017-12-21 09:12:39 +08:00
|
|
|
phpvms.render_route_map({
|
2017-12-28 11:05:53 +08:00
|
|
|
route_points: {!! json_encode($map_features['planned_rte_points']) !!},
|
|
|
|
planned_route_line: {!! json_encode($map_features['planned_rte_line']); !!},
|
2017-12-27 05:26:12 +08:00
|
|
|
actual_route_line: {!! json_encode($map_features['actual_route_line']); !!},
|
|
|
|
actual_route_points: {!! json_encode($map_features['actual_route_points']); !!},
|
2017-12-21 09:12:39 +08:00
|
|
|
});
|
2017-12-20 07:30:30 +08:00
|
|
|
</script>
|
|
|
|
@endsection
|