display lat and lon and database close