Thread
:
App for vector renderer maps, using OpenGL ES 2.0
View Single Post
Zeta
2017-10-04 , 20:37
Posts: 339 | Thanked: 1,623 times | Joined on Oct 2013 @ France
#
100
Probably too late and maybe not that useful, I found that Qt has a dedicated C++ class to handle the "panning, flicking and pinch-to-zoom" gestures in their map object :
http://doc.qt.io/qt-5/qml-qtlocation...sturearea.html
It is said to be available since QtLocation 5.0, but the minimal include is related to a 5.3 version (so maybe not available on Sailfish with its 5.2 QtLocation...).
Anyway, the code can be looked at here for the latest Qt5.9 and seems not that easy :
http://code.qt.io/cgit/qt/qtlocation...area.cpp?h=5.9
For older version, the path was a bit different :
http://code.qt.io/cgit/qt/qtlocation...area.cpp?h=5.3
Maybe some ideas in that code can help you...
Quote & Reply
|
The Following 3 Users Say Thank You to Zeta For This Useful Post:
MartinK
,
olf
,
taixzo
Zeta
View Public Profile
Send a private message to Zeta
Find all posts by Zeta