From e77b6dc6ea801c720f241342246a57d237850e3f Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Mon, 26 Oct 2015 19:59:04 +0100 Subject: Fix MapGestureArea API Qmlfy map gesture area API: * do not use "is" for properties (panActive,pinchActive) * do not use "active" for accepted gestures (acceptedGestures) * do not use "ZoomGestures" (PinchGesture) * make private panEnabled, pinchEnabled * remove pan/pinchEnabled signals * update documentation * fix order of emitting panFinished, flickFinished [ChangeLog][MapGestureArea] Improve QML API including renaming and removal of obsolete elements. Change-Id: I643c923dcd94388475feb402b29ce3df916037a7 Reviewed-by: Laszlo Agocs --- examples/location/mapviewer/map/MapComponent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/location/mapviewer/map/MapComponent.qml') diff --git a/examples/location/mapviewer/map/MapComponent.qml b/examples/location/mapviewer/map/MapComponent.qml index ece4798b..d2d526d1 100644 --- a/examples/location/mapviewer/map/MapComponent.qml +++ b/examples/location/mapviewer/map/MapComponent.qml @@ -269,7 +269,7 @@ Map { //! [mapnavigation] // Enable pan, flick, and pinch gestures to zoom in and out - gesture.activeGestures: MapGestureArea.PanGesture | MapGestureArea.FlickGesture | MapGestureArea.ZoomGesture + gesture.acceptedGestures: MapGestureArea.PanGesture | MapGestureArea.FlickGesture | MapGestureArea.PinchGesture gesture.flickDeceleration: 3000 gesture.enabled: true //! [mapnavigation] -- cgit v1.2.1