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
Describe the bug
The zoomDuration value set in admin is ignored by the Zoom Control, currently making it impossible to disable zoom animation in Hajk. Zoom animation on slow loading background layer gives the Hajk map instance a very "rubberband"-like experience when using the zoom control, better to turn the animation off in those cases and make the map load more snappy (but slow).
Describe the bug
The zoomDuration value set in admin is ignored by the Zoom Control, currently making it impossible to disable zoom animation in Hajk. Zoom animation on slow loading background layer gives the Hajk map instance a very "rubberband"-like experience when using the zoom control, better to turn the animation off in those cases and make the map load more snappy (but slow).
Everything seems prepared in Hajk with respect to admin setting, persisted value in backend and loading of the zoomDuration value in AppModel.
Culprit seems to be a hard-coded 200ms duration in ZoomControl.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect a zoomDuration value of <=0 to disable the OpenLayers zoom animation.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop
Smartphone (please complete the following information):
(Not tested on mobile, due to hardcoded zoom control 200ms behaviour is expected to be the same.)
The text was updated successfully, but these errors were encountered: