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. How to control panning smoothness for QtMobility.location Map component?
Qt 6.11 is out! See what's new in the release blog

How to control panning smoothness for QtMobility.location Map component?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.3k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    trusktr
    wrote on last edited by
    #1

    I'm trying the "Simple map" examples found on "here":http://developer.nokia.com/Community/Wiki/QtQuick_Maps_Examples but I can't figure out how to change the smoothness of the map panning. I'm not sure how the panning is even implemented. I see a file called "kineticscroller.cpp" and inside there I see a variable called "kineticPanningResolution" which is set to 30. I've adjusted it to 0 but I don't really notice a difference.

    I've tried the lightmaps example found "here":http://qt.gitorious.org/qt-labs/graphics-dojo/trees/master/lightmaps, and the map panning is incredibly smooth. I'd like to see how smooth the Simple map examples can be.

    In the "Simple map 3" example, how is the panning established and how do I edit the smoothness or threshold of the panning? Can we make it as smooth as the lightmaps example?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      trusktr
      wrote on last edited by
      #2

      Also, might the smoothness be a limitation of using QML? It can't be a hardware limitation because like I mentioned the lightmaps example is extremely smooth on my device.

      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