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

@@ -12,7 +12,8 @@
@section('scripts')
<script type="text/javascript">
phpvms.render_route_map({
features: {!! json_encode($coords['features']); !!},
route_points: {!! json_encode($map_features['route_points']) !!},
planned_route_line: {!! json_encode($map_features['planned_route_line']); !!},
});
</script>
@endsection

View File

@@ -12,7 +12,8 @@
@section('scripts')
<script type="text/javascript">
phpvms.render_route_map({
features: {!! json_encode($coords['features']); !!},
route_points: {!! json_encode($map_features['route_points']) !!},
planned_route_line: {!! json_encode($map_features['planned_route_line']); !!},
});
</script>
@endsection