phpvms/resources/views/layouts/default/widgets/airspace_map.blade.php

12 lines
322 B
PHP
Raw Normal View History

<div id="map" style="width: {{ $config['width'] }}; height: {{ $config['height'] }}"></div>
@section('scripts')
<script>
phpvms.map.render_airspace_map({
lat: "{{$config['lat']}}",
lon: "{{$config['lon']}}",
metar_wms: {!! json_encode(config('map.metar_wms')) !!},
});
</script>
@endsection