Example #1
0
        public void WeatherRequest(float lat, float lng)
        {
            if (simConnection != null)
            {
                //simConnection.WeatherSetModeGlobal();
//                simConnection.WeatherRequestObservationAtNearestStation(DataRequestID.Weather_Data, lat, lng);
                simConnection.WeatherRequestInterpolatedObservation(DataRequestID.Weather_Data, lat, lng, 0.0f);

                //simConnection.WeatherRequestObservationAtStation(DataRequestID.Weather_Data,"GLOB");
            }
        }