GWeatherLocation* gweather_location_find_nearest_city ( GWeatherLocation* loc, double lat, double lon )
Finds the nearest city to the passed latitude and
longitude, among the descendants of
The given location must be at most a
This restriction may be lifted in a future version.
Note that this function does not check if (
lon) fall inside
loc, or are in the same region and time zone as the return value.
The city closest to (
lon), in the
region or administrative district of
|The caller of the method takes ownership of the returned data, and is responsible for freeing it.|