You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
I noticed the zoom factor is almost but not constant when resizing the window. This can cause an unexpected switch of the zoom layers. Typically, starting a synoptic then going fullscreen might trigger a transition from layer 0 to layer 1. An easy hack is to configure the first zoom step to 1.1 instead of 1:
// disabling zoom by only allowing one step
var config = {view: {zoomSteps: [1.1, 4]}};
The text was updated successfully, but these errors were encountered:
This one might not be trivial to fix completely, but maybe introducing some tolerance in the zoom level switching would help. I.e. when you are in level 1, the scale will have to go to at least e.g. 1.1 before we switch the zoom to the next level, but in order to get back to level 1, you have to scale to 1. This would make the zoom levels just a little bit "sticky".
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I noticed the zoom factor is almost but not constant when resizing the window. This can cause an unexpected switch of the zoom layers. Typically, starting a synoptic then going fullscreen might trigger a transition from layer 0 to layer 1. An easy hack is to configure the first zoom step to 1.1 instead of 1:
The text was updated successfully, but these errors were encountered: