} //날씨

        public void CheckWeather()
        {
            WeatherAPI DataAPI = new WeatherAPI(Lang, Lon);

            weather = DataAPI.GetWeather();

            city               = DataAPI.GetCity();
            temp               = DataAPI.GetTemp();
            windSpeed          = DataAPI.GetWindSpeed();
            windDirectionName  = DataAPI.GetWindDirectionName();
            windDirectionValue = DataAPI.GetWindDirectionValue();
            humidity           = DataAPI.GetHumidity();
        }
Exemplo n.º 2
0
        async void MyMap_RegionChanged(object sender, MKMapViewChangeEventArgs e)
        {
            string tempData = await _weatherApi.GetWeather(MyMap.CenterCoordinate.Latitude, MyMap.CenterCoordinate.Latitude);

            Description.Text = tempData;
        }