Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Map gestures issue

Map gestures issue

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 336 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hvikstrom
    wrote on last edited by
    #1

    Hi,

    My mobile application requires the user to be able to interact with a map so I wanted to use the MapGestureArea object available for this purpose. So I added these lines to my Map object.

                            gesture.acceptedGestures: MapGestureArea.PanGesture | MapGestureArea.PinchGesture
                            gesture.enabled: true
                            gesture.preventStealing: true
    

    However the gestures don't seem to be recognised : when I click on the MouseArea, the log shows that the gestures are not active. Am I missing something ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved