Closed anluh closed 1 year ago
You can specify the exact dimension of the zoom container with the container
option. You can read more on Rendering with coordinates.
Let me know how this works out for you.
Yeah, but it would be nice to have an opportunity for ex. to scale image some more on a custom event. But because it sets position programmatically I can't do it.
You should be able to update the container
option when the custom event occurs with the update()
option.
I'm closing this for now @anluh—but feel free to reopen if you can't achieve what you want to do with the proposed solution.
The problem
Solution