toAddress.country = toCountry.text
toAddress.street = toStreet.text
toAddress.city = toCity.text
+ toAddress.state = toState.text
tempGeocodeModel.startCoordinate = fromCoordinate
tempGeocodeModel.endCoordinate = QtPositioning.coordinate()
tempGeocodeModel.query = fromCoordinate
clearButton.onClicked: {
toStreet.text = ""
toCity.text = ""
+ toState.text = ""
toCountry.text = ""
}
Component.onCompleted: {
toStreet.text = toAddress.street
toCity.text = toAddress.city
+ toState.text = toAddress.state
toCountry.text = toAddress.country
}