#83 Disable draggabledAnnotationController#86
Conversation
|
@louwers any news ? |
|
@ravenfeld Could you clarify the impact on existing users of the annotations plugin? Is this a breaking change? |
|
So no, there are no changes for current users. |
|
@amousavi Will merge and cut a release if you can also approve. Thanks! |
|
Do you have any updates on that? I'm not sure if this PR will resolve my issue, but here's the long story: I'm unable to drag a symbol properly on the map. |
|
Hi @JacobGeoGeek, what exactly do you see wrong? This MR will simply disable the drag and drop detection if there's no listener for it, but looking over the code there could be other issues, explained in my original analysis. |
|
@amousavi, for some reason, the drag feature does not work correctly with all the symbols I created (see the attached video). https://github.com/user-attachments/assets/4712d1c3-bdfc-49bc-8003-038e03bd912b. In my class, I haveimplementedt the OnDragListener like: |
As mentioned in issue #83, even annotations that don't use drag are passed through functions, and this has an impact on performance.
We could give the developer the option to skip this loop altogether, but that would create a breaking change.
Does the developer need to remember to activate a + symbol in the manager for this to work? Wouldn't that be too confusing ?