Print distance from location in dynamic