Thread
:
App for vector renderer maps, using OpenGL ES 2.0
View Single Post
rinigus
2017-10-02 , 07:35
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#
95
I would like to ask for help from QML experts. For interaction with the widget, we need mouse interaction area that would support:
panning
pinch to zoom
flicking
report single click
report double click
I have composed something on the basis of demo code that was given by Nokia (if I am not mistaken) which uses PinchArea/MouseArea combination. This is lacking flicking support. In addition, I get "false positive" clicks sometimes when panning and (probably always) when double clicking.
If there is a brave soul that could look into current implementation at
https://github.com/rinigus/mapbox-de...pMouseArea.qml
and improve it, it will be very much appreciated. Ideally, I would like to have this code MIT-licensed, so everyone could just reuse it in their projects regardless of their license. Don't know the original license of Nokia-based demo code though ...
Other than mouse interaction, I am making steady progress with porting Poor Maps over to this map widget. The widget's API is developed to make this and future ports easier, as was expected.
Quote & Reply
|
The Following 3 Users Say Thank You to rinigus For This Useful Post:
Amboss
,
MartinK
,
PamNor
rinigus
View Public Profile
Send a private message to rinigus
Find all posts by rinigus