Skip to content

Enforce enableRotate={false} from MapControls in Bounds #1351

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

You must be logged in to vote

Update: I found a workaround here

Example that behaves as I expected with MapControls active (using a custom Bounds component): https://codesandbox.io/s/ortho-bounds-weird-custom-bounds-cdle05

Would be nice to have this option in the official one, but I don't feel like I know enough about the possible side effects to open a PR.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bldng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant