Without knowing the details and circumstances, it is impossible to say.
Off the cuff, I would take "25 miles" to mean 25 miles as the crow flies. I speculate a court would probably interpret it the same way if it came to it unless you had good reasons to think it meant something different.