Replaced getGeoPos with input fields