Given 2 point in a 2d space (2 marker coords)
I need a coord which is in middle distance of them and with the direction of c pointing to B.
B.
C.
A.
or
A. C. (--->) B.
In other words:
Userc can choose on the map the waypoint to give to his units. Every "click" on map creates a wp on the map itself.
I'd like to put a marker (arrow) beetwen A e B (marker coords = C) "pointing" to b.
Is there a smart way to do this?
Regards