Skip to content

How to change cursor style according to zoom #286

Discussion options

You must be logged in to vote

I'm afraid there is no built-in option to change the cursor based on the zoom level.

Please keep in mind that there is usually more than one zoom-related action that you can perform, so changing the cursor to a single action may be misleading. Here are the actions that you can perform based on zoom level:

  1. Minimum zoom level (initial, no zoom) <---- that's the only case with a single zoom-related action
  • zoom-in
  1. Medium zoom level
  • zoom-in
  • zoom-out
  • click-and-drag
  1. Maximum zoom level
  • zoom-out
  • click-and-drag

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by igordanchenko
Comment options

You must be logged in to vote
1 reply
@igordanchenko
Comment options

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