added get distance to map utility