Christian Neumann
Christian Neumann
@Pessimistress Seems to be your code, do you remember why you added this and if it's safe to remove?
Okay, I'm still not sure why requestedCameraState is kept, but Camera.easeTo seems to ignore it at some points and instead uses the original transform (that is not yet updated). So...
As far as I understand it correctly, the only reason for `requestedCameraState` is it's use in the event handlers. Normally it would be enough to call `camera._getTransformForUpdate`, change the returned...
@Pessimistress Do you have an example/test of your use case or how this breaks it?
> https://codepen.io/Pessimistress/pen/xxNPvVr Thanks, that makes it clearer. But the example seems to have an issue: it's not possible to drag pan the map while the map is still moving because...
> 2. A test that simulates the camera jump as described here: [transformCameraUpdate leads to unexpected camera jumps when targetting terrain #4233](https://github.com/maplibre/maplibre-gl-js/issues/4233) See #4299.
Found an other way to fix the issue in #4299. Still, a use case / test for the React use case is missing.