Is it possible to zoom (wheel) with a lower zoom factor.
Is it possible to zoom (wheel) with a lower zoom factor.
In modest map when you use mouse wheel the default low zoom factor is 1.
for example one delta with mouse cause the zoom level to be changed like this :
5 to 6.
Is it possible to have a 0.5 step by mouse delta for example.
I tried with the roundscales disabled but it doesn't work.
I'am using tweenMap (gs).
regards.
In modest map when you use mouse wheel the default low zoom factor is 1.
for example one delta with mouse cause the zoom level to be changed like this :
5 to 6.
Is it possible to have a 0.5 step by mouse delta for example.
I tried with the roundscales disabled but it doesn't work.
I'am using tweenMap (gs).
regards.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?It should be possible to stop at arbitrary scale/zoomLevel but it hasn't been thoroughly tested. Turning roundScales off is the first step, but then you also need to override the mouse wheel function, since it has a timer that rounds the zoom level (hopefully in the right direction) after you stop mouse wheeling.
Hope that helps! -
Inappropriate?I tried to change the function doneMouseWheeling(..) as :
if (mouseWheelingIn) {
//zoomByAbout(Math.ceil(grid.zoomLevel) - grid.zoomLevel, p, 0.15); // round off to whole value up
zoomByAbout(grid.zoomLevel - Math.floor(grid.zoomLevel), p, 0.15);
}
This will ask to exact zoom and not the rounded values ...
But somewhere else it is rouded again because the zoom start and than go back to the previous value ...
erf ...
I’m frustrated
Loading Profile...



EMPLOYEE