The radial distribution of galactic gamma rays. IV - The whole galaxy