You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I found out that it has no effect when I add this property to vl-interaction-select component.
Some investigations:
I opened source code for ol/interaction/Select.js and changed hitTolerance_ value to 90. After that I got the behavior that was required.
I opened source code for vuelayers/lib/select-interaction/index.js and added hitTolerance: this.hitTolerance, in new SelectInteraction({...}) constructor. After that I also got the behavior that was required.
In my case I want to use this property to select a feature within some pixels, similar to behavior in this Openlayers guide: https://openlayers.org/en/latest/examples/hit-tolerance.html.
But I found out that it has no effect when I add this property to vl-interaction-select component.
Some investigations:
Example of my code is shown below:
If i'm wrong, could you explain how to use this property? I can't find any examples in an official docs.
Vuelayers 0.11.16, Vue 2.6.10.
The text was updated successfully, but these errors were encountered: