It’s still a feature in Google Maps... Right click anywhere and select “measure distance.” Click to add markers and it measures the distance. The path doesn’t need to follow roads; However, the lines between markers are straight so to do curved lines you need a bunch of markers.