Beispiel #1
0
        public static FindNearestCityResponse From(GeoPoint geoPoint)
        {
            var args = new FindNearestCity(geoPoint);

            return(WebApiHelper.GetNasaWebApiResponse <FindNearestCityResponse> (args));
        }
Beispiel #2
0
		public NasaFirePoint (WhereAreFiresResponse fire)
		{
			ID = Guid.NewGuid ().ToString ();
			Fire = fire;
			NearestCity = FindNearestCity.From (new GeoPoint (fire.lat, fire.lon));
		}