View Single Post
otsaloma's Avatar
Posts: 141 | Thanked: 1,530 times | Joined on May 2011 @ Finland
#107
Originally Posted by rinigus View Post
One more question on mouse area: do we make
I think you should put as much as possible of the mouse/gesture stuff into your module, so that usual things would work out of the box and we'd avoid duplicating code in each app. As an app author, I'd expect to decide myself what a double-tap results in, but implementing should be as easy as defining "onDoubleClick", where I have access to both pixel and geographic coordinates. I assume those who want to do full custom things can just use MapboxMap without MapboxMapMouseArea, right? Maybe you can also support disabling individual events, similar to acceptedGestures?
 

The Following 4 Users Say Thank You to otsaloma For This Useful Post: