summaryrefslogtreecommitdiff
path: root/src/positioning/qgeoshape.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-07-11 15:55:27 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-08-04 11:19:14 +0000
commit92d8e4dc93400250b47f8dbe96ec7e2f748d8d4b (patch)
tree0545f115d23f74be1979ec483a63f19bbc9b1d55 /src/positioning/qgeoshape.h
parent4511bc9b9bc85a0021ce59feab1a28c711dec691 (diff)
downloadqtlocation-92d8e4dc93400250b47f8dbe96ec7e2f748d8d4b.tar.gz
Add QGeoPolygon to QtPositioning
This patch introduces a new QGeoShape, QGeoPolygon, together with helper functions in the location singleton (QtPositioning.*) to create and convert geopolygons from QML. [ChangeLog][QtPositioning][QGeoPolygon] Added QGeoPolygon shape. Change-Id: I111c576d7428f2a953f0459d16c25eea7ab2bd7c Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/positioning/qgeoshape.h')
-rw-r--r--src/positioning/qgeoshape.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/positioning/qgeoshape.h b/src/positioning/qgeoshape.h
index defd0eec..c0bc658b 100644
--- a/src/positioning/qgeoshape.h
+++ b/src/positioning/qgeoshape.h
@@ -66,7 +66,8 @@ public:
UnknownType,
RectangleType,
CircleType,
- PathType
+ PathType,
+ PolygonType
};
ShapeType type() const;