-
My use case is an orthographic view, where I'd like to zoom to various objects, but avoid rotating the camera while doing so. Here is a minimal example: Clicking on a I'd be very grateful for any hints how to avoid rotating the camera and only trucking it, ideally without having to manipulate the camera directly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: I found a workaround here Example that behaves as I expected with 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. |
Beta Was this translation helpful? Give feedback.
Update: I found a workaround here
Example that behaves as I expected with
MapControls
active (using a customBounds
component): https://codesandbox.io/s/ortho-bounds-weird-custom-bounds-cdle05Would 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.