You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
0 B
26 lines
0 B
8 years ago
|
/****************************************************************************
|
||
|
*
|
||
|
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
|
||
|
*
|
||
|
* QGroundControl is licensed according to the terms in the file
|
||
|
* COPYING.md in the root of the source code directory.
|
||
|
*
|
||
|
****************************************************************************/
|
||
|
|
||
7 years ago
|
#include "AirMapManager.h"
|
||
8 years ago
|
#include "AirspaceController.h"
|
||
|
#include "AirspaceManagement.h"
|
||
8 years ago
|
#include "QGCApplication.h"
|
||
|
#include "QGCQGeoCoordinate.h"
|
||
|
|
||
8 years ago
|
AirspaceController::AirspaceController(QObject* parent)
|
||
8 years ago
|
: QObject(parent)
|
||
8 years ago
|
, _manager(qgcApp()->toolbox()->airspaceManager())
|
||
7 years ago
|
{
|
||
|
}
|
||
|
|
||
|
void AirspaceController::setROI(QGeoCoordinate center, double radius)
|
||
8 years ago
|
{
|
||
7 years ago
|
_manager->setROI(center, radius);
|
||
|
}
|