2017-12-20 07:30:30 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h3 class="description">map</h3>
|
|
|
|
</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-25 07:38:38 +08:00
|
|
|
route_points: {!! json_encode($map_features['route_points']) !!},
|
|
|
|
planned_route_line: {!! json_encode($map_features['planned_route_line']); !!},
|
2017-12-21 09:12:39 +08:00
|
|
|
});
|
2017-12-20 07:30:30 +08:00
|
|
|
</script>
|
|
|
|
@endsection
|