phpvms/app/Widgets/AirspaceMap.php
2018-03-27 11:40:37 -05:00

30 lines
516 B
PHP

<?php
namespace App\Widgets;
use App\Interfaces\Widget;
/**
* Show the live map in a view
* @package App\Widgets
*/
class AirspaceMap extends Widget
{
protected $config = [
'height' => '800px',
'width' => '100%',
'lat' => 0,
'lon' => 0,
];
/**
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function run()
{
return view('widgets.airspace_map', [
'config' => $this->config,
]);
}
}