format the coordinates and display map using the formatted coordinates