[Feat] Non-smooth scrolling for doubleClickZoom
Target Use Case
I am using a OrthographicView of which I manage the viewState myself/externally as described in the Docs.
I had enabled smooth scrollZoom earlier, but realized that zooming through doubleClick is still smooth, calling onViewStateChange multiple times per zoom step.
I think it would be beneficial if this could also be controlled by the controller options.
Proposal
My suggestion is to also accept an object as parameter for doubleClickZoom, similar to scrollZoom where smooth scrolling can be controlled (and potentially also speed for consistency).
Further Notes
From my experiments I saw that the smooth zomming is based on the controllers transitionDuration and interpolator. I have now set the transitionDuration to 0 for now, which also made the doubleClick zooming non-smooth. This link is not obvious from the docs and could also be improved.