-
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
Jquery easing #261
Comments
As far as i know the easing works with RaphaelJS. |
Allright, didn't notice this parameter, great! |
In fact it works ok with a mouse but with a trackpad, at least on mac it is not smooth at all. It waits like half a second before it zoom. |
Yep, i got the same issue even with mousewheel. Perhaps its a performance problem on maps with lots of plots? |
Well , for instance no plots on the map I am using and also on the fiddle you gave me: |
for me its much smoother with a higher step-value like 1.25: (line 49) |
Still this latency before zoom starting for me. Seems like the trackpad increment the wheel much more that a simple mouse wheel. Difficult to handle in js cause it can't check which device is being used but maybe adding a condition when wheel increment is too big can make it... |
i think i'll use step: 1.25, animDuration: 1000 and ease-in-out. at least feels a bit smoother: https://jsfiddle.net/t36y5mh3/4/ |
yeah you're right :-) Thanks dude! |
Hi, You are right, zooming into SVG is a little costly for the browser, so it can be slow with low configurations or mobile devices. I didn't found a fix for now, but feel free to contribute if you can ! |
The zoom functionality might need some rework indeed. For instance, instead of |
Hi,
I would like to know what's the best way to integrate jquery easing functionalities when zooming into the map. I think the linear easing it's not the best but a easeOutQuad for instance might work better.
Any suggestions?
The text was updated successfully, but these errors were encountered: