wangzhibo
2021-10-06 3e331d7872bfa5ecb7da47a96b7a46fcd35521dc
widgetsTS/weather/widget.js
@@ -36,9 +36,9 @@
        $("#weather_temp").html(current_weather.temp);
        $("#weather_text").html(current_weather.text);
        $("#weather_icon").attr('src', './img/qweather/' + current_weather.icon + '.svg');
        $("#weather_windScale").html(current_weather.windScale);
        $("#weather_windDir").html(current_weather.windDir);
        $("#weather_feelsLike").html(current_weather.feelsLike);
        $("#weather_windScale").html(current_weather.windscale);
        $("#weather_windDir").html(current_weather.winddir);
        $("#weather_feelsLike").html(current_weather.feelslike);
        $("#weather_humidity").html(current_weather.humidity);
        $("#weather_pressure").html(current_weather.pressure);
        $("#weather_precip").html(current_weather.precip);
@@ -46,7 +46,7 @@
        $("#weather_dew").html(current_weather.dew);
        mars3d.global_variables.wind360 = current_weather.wind360;
        mars3d.global_variables.windSpeed = current_weather.windSpeed==0?1:current_weather.windSpeed;
        mars3d.global_variables.windSpeed = current_weather.windSpeed==0?1:current_weather.windspeed;
        var wind = this.map.getLayerById(2001);
        wind.data = this.createWindData();