From 1549d59e448550f05c5bd1ea6a9da5d1e78c7f26 Mon Sep 17 00:00:00 2001 From: Aaron McCarthy Date: Fri, 27 Jul 2012 12:58:48 +1000 Subject: Convert Coordinate into a QML coordinate value type. This replaces the Coordinate QML element with a value type. A value type is a better fit for a coordinate. It is very similar to a vector3d except it has an explicit coordinate system and some utility functions. Declare QGeoCoordinate as a movable type. Update documentation. Change-Id: I758fa9dfd7154a4d60fb791fe553b9fee3164c2c Reviewed-by: abcd --- tests/auto/declarative_ui/tst_map_mouse.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/auto/declarative_ui/tst_map_mouse.qml') diff --git a/tests/auto/declarative_ui/tst_map_mouse.qml b/tests/auto/declarative_ui/tst_map_mouse.qml index eb715fb6..ce656f66 100644 --- a/tests/auto/declarative_ui/tst_map_mouse.qml +++ b/tests/auto/declarative_ui/tst_map_mouse.qml @@ -82,7 +82,6 @@ Item { height: 120 // General-purpose elements for the test: Plugin { id: testPlugin; name : "qmlgeo.test.plugin";} - Coordinate{ id: mapDefaultCenter; latitude: 20; longitude: 20} MapMouseEvent{ id: mapMouseEvent @@ -103,7 +102,11 @@ Item { Map { id: map; x: 0; y: 0; width: 100; height: 100 - center: mapDefaultCenter + center { + latitude: 20 + longitude: 20 + } + plugin: testPlugin; property real lastWheelAngleDeltaX: 0 -- cgit v1.2.1