My pre electronic era mileage gauge consisted of a bunch of county maps and one of these:
https://www.amazon.com/MagiDeal-Meas...YFR0KAH1NGQ9W7
I note there are now digital variants on this device. For longer rides you had to keep track of the number of revolutions manually, the horror!