summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-01-17 18:16:41 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-26 14:45:37 +0000
commitf586ea00feb414fb0776aa2bc6fbbb356ac61c32 (patch)
tree181045b22dbfd1fbb64c9ffb9cea2f87d218d9bf /tests
parent05c4125cd65e34d64befeef4c4c2aba1f3b86665 (diff)
downloadqtlocation-f586ea00feb414fb0776aa2bc6fbbb356ac61c32.tar.gz
Add rotation/tilting support to QGeoTiledMapScene/QGeoCameraTiles
This patch adds rotation and tilting support to QGeoTiledMapScene and QGeoCameraTiles. It also adds the related capabilities to the geoservice plugins mapping managers QML Api is added in a separate patch Change-Id: I3de1b52a9928c4856f6ee57ad39191acebe0f770 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative_ui/tst_map.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/declarative_ui/tst_map.qml b/tests/auto/declarative_ui/tst_map.qml
index 1c0f4719..ab1ddd8c 100644
--- a/tests/auto/declarative_ui/tst_map.qml
+++ b/tests/auto/declarative_ui/tst_map.qml
@@ -361,8 +361,8 @@ Item {
compare(map.tilt, 0.0)
compare(mapTiltBearing.bearing, 45.0)
compare(mapTiltBearing.tilt, 25.0)
- compare(mapTiltBearingHere.bearing, 0.0)
- compare(mapTiltBearingHere.tilt, 0.0)
+ compare(mapTiltBearingHere.bearing, 45.0)
+ compare(mapTiltBearingHere.tilt, 25.0)
mapTiltBearing.bearing = 0.0
mapTiltBearing.tilt = 0.0
@@ -379,6 +379,10 @@ Item {
mapTiltBearingHere.bearing = 45.0
mapTiltBearingHere.tilt = 25.0
+ compare(mapTiltBearingHere.bearing, 45.0)
+ compare(mapTiltBearingHere.tilt, 25.0)
+ mapTiltBearingHere.bearing = 0.0
+ mapTiltBearingHere.tilt = 0.0
compare(mapTiltBearingHere.bearing, 0.0)
compare(mapTiltBearingHere.tilt, 0.0)