summaryrefslogtreecommitdiff
path: root/src/positioning/qgeopath.cpp
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2016-08-06 21:26:10 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-26 14:46:00 +0000
commitc062403a894a270101ae821fd73fa848f918ac54 (patch)
treeda4becf0a6e1c5685f1f57d5ce1d8890feab225c /src/positioning/qgeopath.cpp
parent12b62e04e4c17ddeaeaae46ec09af2eb7244e840 (diff)
downloadqtlocation-c062403a894a270101ae821fd73fa848f918ac54.tar.gz
Use geoshapes as geo-model in qdeclarativegeomapitems
This patch uses QGeoShapes as data model inside the QDeclarativeMapItemBase subclasses. Advantages: - avoids duplication of implementation for geo-related methods (now only inside QGeoShapes). - provides map items a bounding box, usable for area based item searching ,or simple viewport fitting - allows to follow the graphics-view pattern, and have the same items visualized in different Maps (not yet supported). Change-Id: I6eec738fef5d753d90bdeeb4b109be89155b25f8 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/qgeopath.cpp')
-rw-r--r--src/positioning/qgeopath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/positioning/qgeopath.cpp b/src/positioning/qgeopath.cpp
index a8e77e10..87f4a9d4 100644
--- a/src/positioning/qgeopath.cpp
+++ b/src/positioning/qgeopath.cpp
@@ -66,7 +66,7 @@ QT_BEGIN_NAMESPACE
but never crosses the poles.
This is relevant for the calculation of the bounding box returned by
- \l QGeoShape::geoBoundingBox() for this shape, which will have the latitude of
+ \l QGeoShape::boundingGeoRectangle() for this shape, which will have the latitude of
the top left corner set to the maximum latitude in the path point set.
Similarly, the latitude of the bottom right corner will be the minimum latitude
in the path point set.