docu for distance map