summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <mccarthy.aaron@gmail.com>2015-01-23 15:37:19 +1000
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-02 07:33:42 +0000
commitdbfa9eeaae4b0508a0d4de41d0578003e98d357b (patch)
treeda81c7ec0773dd8e9021227ad47d1aa7fbb7be5c /src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp
parentd2ff57fec56b575059737e91cf6dbdcd3d610e6f (diff)
downloadqtlocation-dbfa9eeaae4b0508a0d4de41d0578003e98d357b.tar.gz
Add support for places to Open Street Map plugin.
Implement basic places support based on the Open Street Map Nominatim service. Support for read only categories and place searching is supported. The plugin does not support getting place details, getting place content, search suggestions, saving/removing places or saving/removing categories. Change-Id: I5a185cdf25b50d5b377be4d2c3c53c8f1e807288 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp')
-rw-r--r--src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp b/src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp
index 085c2a49..900921d3 100644
--- a/src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp
+++ b/src/plugins/geoservices/osm/qgeoserviceproviderpluginosm.cpp
@@ -35,8 +35,7 @@
#include "qgeotiledmappingmanagerengineosm.h"
#include "qgeocodingmanagerengineosm.h"
#include "qgeoroutingmanagerengineosm.h"
-
-#include <QtLocation/private/qgeotiledmappingmanagerengine_p.h>
+#include "qplacemanagerengineosm.h"
QT_BEGIN_NAMESPACE
@@ -61,11 +60,7 @@ QGeoRoutingManagerEngine *QGeoServiceProviderFactoryOsm::createRoutingManagerEng
QPlaceManagerEngine *QGeoServiceProviderFactoryOsm::createPlaceManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
-
- return 0;
+ return new QPlaceManagerEngineOsm(parameters, error, errorString);
}
QT_END_NAMESPACE