Ejemplo n.º 1
0
        public static FindNearestCityResponse From(GeoPoint geoPoint)
        {
            var args = new FindNearestCity(geoPoint);

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