diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-08-05 22:21:12 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-12-01 13:45:41 +0000 |
commit | e568470c6409febdb5187e3f53af32164c63169f (patch) | |
tree | 6e93b51f86750740a276464b92253e0ad3a9a0bf /src/positioning/positioning.pro | |
parent | 6ac41c0f58f34606afaa289243d762afd5f879d4 (diff) | |
download | qtlocation-e568470c6409febdb5187e3f53af32164c63169f.tar.gz |
Add support for QGeoPath
This patch adds an addition qgeoshapes, QGeoPath.
This represents a geographical path where each consecutive geopoints
are connected along the shortest line of constant bearing
(rhumb line).
The path has a width, in meters, that is used in the contains()
method to decide whether a coordinate is or not on the path, based
on shortest distance to the rhumb line segments.
Change-Id: Ia02780e3c8ac6c6d63a6083f53ea0677f8a21a1d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/positioning.pro')
-rw-r--r-- | src/positioning/positioning.pro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/positioning/positioning.pro b/src/positioning/positioning.pro index 3cc059c0..a311e5e1 100644 --- a/src/positioning/positioning.pro +++ b/src/positioning/positioning.pro @@ -32,7 +32,8 @@ PUBLIC_HEADERS += \ qgeosatelliteinfosource.h \ qnmeapositioninfosource.h \ qgeopositioninfosourcefactory.h \ - qpositioningglobal.h + qpositioningglobal.h \ + qgeopath.h \ PRIVATE_HEADERS += \ qgeoaddress_p.h \ @@ -50,7 +51,8 @@ PRIVATE_HEADERS += \ qdoublevector3d_p.h \ qgeoprojection_p.h \ qpositioningglobal_p.h \ - qlocationdata_simulator_p.h + qlocationdata_simulator_p.h \ + qgeopath_p.h SOURCES += \ qgeoaddress.cpp \ @@ -73,7 +75,8 @@ SOURCES += \ qdoublevector2d.cpp \ qdoublevector3d.cpp \ qgeoprojection.cpp \ - qlocationdata_simulator.cpp + qlocationdata_simulator.cpp \ + qgeopath.cpp HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS |