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
In my app there are multiple waypoints inserted by the user. Each one has to be draggable. However, when dragging the first or last waypoint, which is also the first and last position in the positions array, the position remains the same.
In my app there are multiple waypoints inserted by the user. Each one has to be draggable. However, when dragging the first or last waypoint, which is also the first and last position in the positions array, the position remains the same.
Example:
positions: [[0,0],[1,1],[2,0]]
waypoints: [[0,0],[2,0]]
First waypoint [0,0] is dragged to [42,42]
Result should be [[42,42],[1,1],[2,0]] with snapped positions inserted in the middle
Or if last waypoint [2,0] is dragged to [42,42]
Result should be [[0,0],[1,1],[42,42]] with snapped positions inserted in the middle
The text was updated successfully, but these errors were encountered: