Skip to content

How to make double click zoom to a fixed zoom value of the current zoom, for example, double click zoom 2 scale. #353

Closed Answered by igordanchenko
aichisuan asked this question in Q&A
Discussion options

You must be logged in to vote

This is the default behavior when images have sufficiently high resolution. For smaller images, consider increasing maxZoomPixelRatio and doubleClickMaxStops props.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@aichisuan
Comment options

@igordanchenko
Comment options

@aichisuan
Comment options

@igordanchenko
Comment options

Answer selected by igordanchenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants