summaryrefslogtreecommitdiff
path: root/src/positioning/qgeolocation_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-11-28 19:38:10 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-12-04 16:11:50 +0000
commit4919bb49039dd84bd58290fb66e2c272a920929c (patch)
tree79469376d4b2ec7c86194455f5d32c6c88126a9e /src/positioning/qgeolocation_p.h
parent9ec2fa87650607337f1692b7bc52e16cc3f74860 (diff)
downloadqtlocation-4919bb49039dd84bd58290fb66e2c272a920929c.tar.gz
Provide extended, plugin dependent information for Geo Locations
This includes support for osm geojson and class fields. At the present, the content of the geojson field is returned as is. As soon as QGeoJson support is finalized, this will be integrated with a QGeoPolygon. Fixes: QTBUG-43401 Change-Id: Ifa7e24cf904a2c1e1e77ebfaa7948ac0ce81d265 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/qgeolocation_p.h')
-rw-r--r--src/positioning/qgeolocation_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/positioning/qgeolocation_p.h b/src/positioning/qgeolocation_p.h
index a12e4cb4..a9ce639d 100644
--- a/src/positioning/qgeolocation_p.h
+++ b/src/positioning/qgeolocation_p.h
@@ -55,6 +55,7 @@
#include <QtPositioning/QGeoAddress>
#include <QtPositioning/QGeoCoordinate>
#include <QtPositioning/QGeoRectangle>
+#include <QVariantMap>
QT_BEGIN_NAMESPACE
@@ -73,6 +74,7 @@ public:
QGeoAddress address;
QGeoCoordinate coordinate;
QGeoRectangle viewport;
+ QVariantMap extendedAttributes;
};
QT_END_NAMESPACE