weather: fetch and expose precipitation and snowfall
This commit is contained in:
1 parent
e3250a34da
commit
c769a6dff3
2 files changed
+62
-2
No files matched your search
@@ -105,6 +105,19 @@ window.CONFIG = {
|
||||
weatherSimInterval: 30000, // ms per weather step when weatherSim is true
|
||||
// weatherSim: true, weatherSimInterval: 15000
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Weather data
|
||||
// ------------------------------------------------------------------
|
||||
// Open-Meteo fields used by the scene. These knobs only control which
|
||||
// optional weather values are requested and exposed as window.__currentWeather.
|
||||
weather: {
|
||||
precipitation: true, // mm/h total precipitation
|
||||
snowfall: true, // cm/h snowfall
|
||||
hourly: true, // use hourly values for the simulated clock
|
||||
// weather: { precipitation: false, snowfall: false, hourly: false }
|
||||
// weather: { precipitation: true, snowfall: true }
|
||||
},
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Tiles and caches
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user