adds console log of coordinates in edit page