Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
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
12QGeoCodingManagerEngine *QGeoServiceProviderFactoryOsm::createGeocodingManagerEngine(
13 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
14{
15 return new QGeoCodingManagerEngineOsm(parameters, error, errorString);
16}
17
18QGeoMappingManagerEngine *QGeoServiceProviderFactoryOsm::createMappingManagerEngine(
19 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
20{
21 return new QGeoTiledMappingManagerEngineOsm(parameters, error, errorString);
22}
23
24QGeoRoutingManagerEngine *QGeoServiceProviderFactoryOsm::createRoutingManagerEngine(
25 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
26{
27 return new QGeoRoutingManagerEngineOsm(parameters, error, errorString);
28}
29
30QPlaceManagerEngine *QGeoServiceProviderFactoryOsm::createPlaceManagerEngine(
31 const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
32{
33 return new QPlaceManagerEngineOsm(parameters, error, errorString);
34}
35
36QT_END_NAMESPACE