Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qgeoserviceproviderpluginosm.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
9
11
13 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
14{
15 return new QGeoCodingManagerEngineOsm(parameters, error, errorString);
16}
17
19 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
20{
21 return new QGeoTiledMappingManagerEngineOsm(parameters, error, errorString);
22}
23
25 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
26{
27 return new QGeoRoutingManagerEngineOsm(parameters, error, errorString);
28}
29
31 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
32{
33 return new QPlaceManagerEngineOsm(parameters, error, errorString);
34}
35
Q_PLUGIN_METADATA(IID "org.qt-project.qt.geoservice.serviceproviderfactory/6.0" FILE "osm_plugin.json") public QGeoMappingManagerEngine * createMappingManagerEngine(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const override
Returns a new QGeoMappingManagerEngine instance, initialized with parameters, which implements mappin...
QGeoRoutingManagerEngine * createRoutingManagerEngine(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const override
Returns a new QGeoRoutingManagerEngine instance, initialized with parameters, which implements routin...
QPlaceManagerEngine * createPlaceManagerEngine(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const override
Returns a new QPlaceManagerEngine instance, initialized with parameters, which implements the place s...
virtual QGeoCodingManagerEngine * createGeocodingManagerEngine(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
Returns a new QGeoCodingManagerEngine instance, initialized with parameters, which implements the loc...
Error
Describes an error related to the loading and setup of a service provider plugin.
\inmodule QtLocation
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error