3#include <QtCore/QThread>
4#include <QtQml/QQmlEngine>
9QGC_LOGGING_CATEGORY(QGeoServiceProviderFactoryQGCLog,
"QtLocationPlugin.QGeoServiceProviderFactoryQGC")
14 qCDebug(QGeoServiceProviderFactoryQGCLog) <<
this;
19 qCDebug(QGeoServiceProviderFactoryQGCLog) <<
this;
23 const QVariantMap ¶meters, QGeoServiceProvider::Error *
error, QString *
errorString)
const
27 *
error = QGeoServiceProvider::NotSupportedError;
30 *
errorString = QStringLiteral(
"Geocoding Not Supported");
37 const QVariantMap ¶meters, QGeoServiceProvider::Error *
error, QString *
errorString)
const
40 *
error = QGeoServiceProvider::NoError;
47 Q_ASSERT(m_engine->thread() == QThread::currentThread());
49 QNetworkAccessManager *networkManager = m_engine->networkAccessManager();
55 const QVariantMap ¶meters, QGeoServiceProvider::Error *
error, QString *
errorString)
const
59 *
error = QGeoServiceProvider::NotSupportedError;
62 *
errorString = QStringLiteral(
"Routing Not Supported");
69 const QVariantMap ¶meters, QGeoServiceProvider::Error *
error, QString *
errorString)
const
73 *
error = QGeoServiceProvider::NotSupportedError;
76 *
errorString = QStringLiteral(
"Place Not Supported");
#define QGC_LOGGING_CATEGORY(name, categoryStr)
QGeoRoutingManagerEngine * createRoutingManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const final
~QGeoServiceProviderFactoryQGC()
QPlaceManagerEngine * createPlaceManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const final
QGeoMappingManagerEngine * createMappingManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const final
QGeoCodingManagerEngine * createGeocodingManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const final