示例#1
0
 public void OnLocationChanged(Location location)
 {
     lat = Math.Round(location.Latitude, 4);
     lng = Math.Round(location.Longitude, 4);
     new GetWeather(this, openWeatherMap).Execute(Common.APIRequest(lat.ToString(), lng.ToString()));
 }