Add distance legend.