WeatherInformation WP8: city and country by default.
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Sat, 16 Aug 2014 21:39:48 +0000 (23:39 +0200)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Sat, 16 Aug 2014 21:39:48 +0000 (23:39 +0200)
Default values: City not found/Country not found

WindowsPhone/WeatherInformation/WeatherInformation/MapPage.xaml.cs

index e2d936d..4f1dfd0 100644 (file)
@@ -255,9 +255,6 @@ namespace WeatherInformation
             // TODO: Could there some problem if user clicks button and thread is in this very moment updating map?
             var geoCoordinate = this.mapWeatherInformation.Center;
 
-            // TODO: What if there is no city or country. Is there null value or empty string?
-            //StoredLocation.City = address.City;
-            //StoredLocation.Country = address.Country;
             StoreLocation(geoCoordinate);
         }