Frontend maps to use the commonjs compiled files
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
@section('scripts')
|
||||
<script type="text/javascript">
|
||||
phpvms.map.render_route_map({
|
||||
route_points: {{ json_encode($map_features['route_points']) }},
|
||||
planned_route_line: {{ json_encode($map_features['planned_route_line']) }},
|
||||
route_points: {!! json_encode($map_features['route_points']) !!},
|
||||
planned_route_line: {!! json_encode($map_features['planned_route_line']) !!},
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user