summaryrefslogtreecommitdiff
path: root/src/positioning/qgeoshape_p.h
diff options
context:
space:
mode:
authorErik Mattsson <erik.mattsson@appello.com>2013-09-27 15:44:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-07 09:43:44 +0200
commit7ec8919a055e35232b5127e312a525f61b0bc483 (patch)
tree80436fb4170376af1ffc9f31408db9f0a212358b /src/positioning/qgeoshape_p.h
parent7ca062e008db1543519f9258812b0d577d5da5ac (diff)
downloadqtlocation-7ec8919a055e35232b5127e312a525f61b0bc483.tar.gz
Added possibility to create a georectangle from a list of coordinates
It will create the smallest possible rectangle that contains all of the coordinates. This is accessible from qml using the locationsingleton. The plan is to include the ability to fit the view-port of the map to a georectangle. Change-Id: I616ac8ef169f697e53a3d9ebcf114f4f2cde8298 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/positioning/qgeoshape_p.h')
-rw-r--r--src/positioning/qgeoshape_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/positioning/qgeoshape_p.h b/src/positioning/qgeoshape_p.h
index ec0b8283..f58fe1e8 100644
--- a/src/positioning/qgeoshape_p.h
+++ b/src/positioning/qgeoshape_p.h
@@ -69,6 +69,8 @@ public:
virtual bool isEmpty() const = 0;
virtual bool contains(const QGeoCoordinate &coordinate) const = 0;
+ virtual void extendShape(const QGeoCoordinate &coordinate) = 0;
+
virtual QGeoShapePrivate *clone() const = 0;
virtual bool operator==(const QGeoShapePrivate &other) const;