-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent Update Behavior for Rotation Handle Position in OL-ext in Transform #1037
Comments
Maybe it's due to optimization while animating the overlay. transform.overlayLayer_.updateWhileAnimating_ = true;
// and maybe
transform.overlayLayer_.updateWhileInteracting_ = true; Tell me if it runs, I'll add it on the overlay in constructor. |
Yes, it worked. I added both :
Thank you very much. Hope for an update. |
Great, I'll add it in the constructor to have it work out of the box. |
Hi! |
My bad! I miss it! 😞 |
Hello!
I'm currently developing an application using OpenLayers ext and have encountered an issue with updating the position of rotation handles for a Transform interaction, particularly when zooming in or out (i.e., on change:resolution). While I've implemented logic to update the rotation handle's position based on the map's resolution, the updates appear intermittently, with noticeable "jumps" rather than smooth transitions.
Here's an overview of the implementation:
Although the console.log('rotate') statement executes every time the resolution changes, indicating the function is indeed being called, the actual position update of the rotation handle does not always reflect immediately in the UI. It seems to update in "jumps" or sometimes requires additional interaction to display correctly.
I'm looking for guidance on the following:
Why might the rotation handle position updates not display smoothly or consistently upon resolution changes?
Are there any recommended practices or adjustments I can make to ensure the position updates more reliably and smoothly?
Any insights or suggestions on how to address this issue would be greatly appreciated. Thank you for your support
The text was updated successfully, but these errors were encountered: