Only a few miles....only a few feet... etc are not *durational* measurements but "completional" (maybe that word doesn't exist)  and as such are incompatible with the progressive/continuous. They're compatible with the perfect.