RTS Road dragging

Hi,
I want to create a draggable road for my RTS game, but wondering what the best implementation is.

  1. I tried to use a spline, unfortunately it creates rounded roads, while i would like them to be 90 or 45 degrees based on a grid
  2. Was thinking about a A* pathfinding algorithm and just creating a road tile per grid square
  3. Is there a possibility to use UE pathfinding system to give start and endpoint as vectors and receive an array of vectors to place tiles?

Any other idea?

Thanks!