-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable click zoom ON plot #246
Comments
Keep playing playing playing. After that everything worked out fine, as I just read that '''this''' variables will give issue's while calling timeOut functions with paramenters. full codes
|
Hello @dnsBlah , Thank you for having shared the answer ! |
It's buggy on mobile devices :( -- Added touchup on every click event, and it's working now. |
Thank you for keeping updated :) |
Hi Neveldo,
first I want to thank you again for all your help on:
#160
I am now trying to disable the zoom, when I clicked on a plot.
I tried it by using click eventHandler, and a boolean.
Unfortunally the global mouseup function:
Is called before the eventhandler.
I even tried a timeout function on this mouseup function, to make a new function for the actual zoom trigger (
$(".maparea").trigger('zoom', {
, but also somehow it's being called directly.Is there any way we can detect if the mouseup function is on a plot ?
Else continue the code :-)
The text was updated successfully, but these errors were encountered: