truncate latlon coords to fit in input fields