Retrieves the city name for the given location.
For a `GWEATHER_LOCATION_CITY` or `GWEATHER_LOCATION_DETACHED` location, this method is equivalent to [method@GWeather.Location.get_name] .
For a `GWEATHER_LOCATION_WEATHER_STATION` location, this is equivalent to calling [method@GWeather.Location.get_name] on the location's parent.
For other locations this method will return `NULL`.
this |
a Location |
the city name of the location |