summaryrefslogtreecommitdiff
path: root/src/positioning/positioning.pro
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2016-12-04 20:43:26 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-23 12:12:52 +0000
commit93cd42ef606178261e12eeffc88cd4b7d029dbc3 (patch)
treecd810b47a0b3a9d4d4b4e5a260be7f669364a9c4 /src/positioning/positioning.pro
parent645e61163333002f92fc3f730043837df08cd4dd (diff)
downloadqtlocation-93cd42ef606178261e12eeffc88cd4b7d029dbc3.tar.gz
Make QGeoProjectionWebMercator use a projection matrix
This patch changes the way QGeoProjectionWebMercator implements its operations -to and -from screen coordinates. By using a double matrix 4x4 instead of only scaling and shifting this will make it possible to convert coordinates also in presence of bearing and tilting != 0 Change-Id: I6a74a9675a7ad397ec6ad32f4274f897aa7694b1 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/positioning.pro')
-rw-r--r--src/positioning/positioning.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/positioning/positioning.pro b/src/positioning/positioning.pro
index b5c6ee46..c4c9cc6c 100644
--- a/src/positioning/positioning.pro
+++ b/src/positioning/positioning.pro
@@ -52,6 +52,7 @@ PRIVATE_HEADERS += \
qwebmercator_p.h \
qpositioningglobal_p.h \
qlocationdata_simulator_p.h \
+ qdoublematrix4x4_p.h \
qgeopath_p.h
SOURCES += \
@@ -76,7 +77,8 @@ SOURCES += \
qdoublevector3d.cpp \
qgeopath.cpp \
qlocationdata_simulator.cpp \
- qwebmercator.cpp
+ qwebmercator.cpp \
+ qdoublematrix4x4.cpp
HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS