QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGeoTiledMapQGC.cpp
Go to the documentation of this file.
1
#include "
QGeoTiledMapQGC.h
"
2
3
#include "
QGCLoggingCategory.h
"
4
#include "
QGeoTiledMappingManagerEngineQGC.h
"
5
6
QGC_LOGGING_CATEGORY
(QGeoTiledMapQGCLog,
"QtLocationPlugin.QGeoTiledMapQGC"
)
7
8
QGeoTiledMapQGC
::
QGeoTiledMapQGC
(
QGeoTiledMappingManagerEngineQGC
*engine, QObject *parent)
9
: QGeoTiledMap(engine, parent)
10
{
11
qCDebug(QGeoTiledMapQGCLog) <<
this
;
12
}
13
14
QGeoTiledMapQGC::~QGeoTiledMapQGC
()
15
{
16
qCDebug(QGeoTiledMapQGCLog) <<
this
;
17
}
18
19
QGeoMap::Capabilities
QGeoTiledMapQGC::capabilities
()
const
20
{
21
return
Capabilities(SupportsVisibleRegion
22
| SupportsAnchoringCoordinate
23
| SupportsVisibleArea);
24
}
25
26
/*void QGeoTiledMapQGC::evaluateCopyrights(const QSet<QGeoTileSpec> &visibleTiles)
27
{
28
if (visibleTiles.isEmpty()) {
29
return;
30
}
31
32
const QGeoTileSpec tile = *(visibleTiles.constBegin());
33
34
const MapProvider* const provider = getProviderFromQtMapId(tile.mapId());
35
36
if (provider) {
37
emit copyrightsChanged(provider->copyright());
38
}
39
}*/
QGCLoggingCategory.h
QGC_LOGGING_CATEGORY
#define QGC_LOGGING_CATEGORY(name, categoryStr)
Definition
QGCLoggingCategory.h:14
QGeoTiledMapQGC.h
QGeoTiledMappingManagerEngineQGC.h
QGeoTiledMapQGC
Definition
QGeoTiledMapQGC.h:11
QGeoTiledMapQGC::~QGeoTiledMapQGC
~QGeoTiledMapQGC()
Definition
QGeoTiledMapQGC.cpp:14
QGeoTiledMapQGC::capabilities
QGeoMap::Capabilities capabilities() const final
Definition
QGeoTiledMapQGC.cpp:19
QGeoTiledMappingManagerEngineQGC
Definition
QGeoTiledMappingManagerEngineQGC.h:12
src
QtLocationPlugin
QGeoTiledMapQGC.cpp
Generated by
1.9.8