Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47170

QML Map element does not respond to pinch gesture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.5.0
    • None
    • devhost: OSX 10.8.5
      target HW: Google Nexus 7, WIFI, 32 GB (Android 4.4.4)
      target HW: Motorolo Moto G, 8 GB (Android 5.something)

    Description

      In the following sample, the map does not respond to pinch gestures. This can be reproduced on different versions of Android and different vendors of Hardware

      import QtQuick 2.5
      import QtQuick.Controls 1.4
      import QtLocation 5.5
      import QtPositioning 5.5

      ApplicationWindow {
      visible: true
      Plugin

      { id: myPlugin name: "osm" }

      Map {
      id: map
      plugin: myPlugin
      anchors.fill: parent
      gesture.activeGestures: MapGestureArea.ZoomGesture | MapGestureArea.PanGesture | MapGestureArea.FlickGesture
      gesture.enabled: true
      zoomLevel: 16
      Component.onCompleted:

      { console.log("Pinch enabled: " + gesture.pinchEnabled) }

      }
      }

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              michal Michal Klocek
              primemover Magic Herb
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes