curvyRoute icon indicating copy to clipboard operation
curvyRoute copied to clipboard

Question (Draggable Point at End of Line)

Open Brandon1419 opened this issue 5 years ago • 2 comments

Hello! I need to have one end of the curved line be stationary that does not move then the other end be draggable by the user while keeping the curved line. What's the best way to do this? Thanks!

Brandon1419 avatar Apr 07 '20 17:04 Brandon1419

Any help on this? Would be much appreciated! :)

Brandon1419 avatar Apr 10 '20 02:04 Brandon1419

Hey @Brandon1419, sorry I just saw the email. I will try to have a look at it this weekend/next week, but here's what you could try first:

  • see how possible it is to draw the curve partially incomplete (for ex at 50%), then use that as a parameter
  • later on, you would have to handle a pan gesture recogniser, but I guess that the map view begin could cause some issues.

It would need some adaptation, anyway. Don't hesitate to open a PR if you have a solution ;)

zigzagg16 avatar Apr 10 '20 07:04 zigzagg16