[ CCode ( finish_instance = false ) ]
[ Version ( since = "3.12" ) ]
public async Location detect_nearest_city (double lat, double lon, Cancellable? cancellable) throws Error
Initializes geocode reversing to find place for (lat
, lon
) coordinates.
Calls the callback function passed by user when the result is ready.
this must be at most a gweather_location_adm1 location. This restriction may be lifted in a future version.
this |
The parent location, which will be searched recursively |
lat |
Latitude, in degrees |
lon |
Longitude, in degrees |
cancellable |
optional, NULL to ignore |
callback |
callback function for GAsyncReadyCallback argument for GAsyncResult |
user_data |
user data passed to |