From f586ea00feb414fb0776aa2bc6fbbb356ac61c32 Mon Sep 17 00:00:00 2001 From: Paolo Angelelli Date: Tue, 17 Jan 2017 18:16:41 +0100 Subject: 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 --- tests/auto/declarative_ui/tst_map.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests') 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) -- cgit v1.2.1