Answer
Measure the actual planned route, including diversions and the return leg, because that distance drives time, battery use, and operating radius.
Explanation
Straight line range describes geography, not necessarily the route the aircraft can safely or legally fly.