Show both "latest" and "loop" radar images

This commit is contained in:
Lance Edgar 2024-06-08 19:02:41 -05:00
parent d17ab853af
commit de9980b014
2 changed files with 16 additions and 9 deletions

View file

@ -25,14 +25,6 @@ export default {
generated = generated.toLocaleTimeString('en-US', {timeStyle: 'short'})
return `Forecast @ ${generated}`
},
radarURL() {
if (this.weatherStore.weather) {
const station = this.weatherStore.weather.properties.radarStation
return `https://radar.weather.gov/ridge/standard/${station}_loop.gif`
}
},
},
activated() {
@ -128,7 +120,14 @@ export default {
Radar
</p>
<div class="panel-block">
<img :src="radarURL" />
<div class="columns">
<div class="column">
<img :src="weatherStore.radarLatestURL" />
</div>
<div class="column">
<img :src="weatherStore.radarLoopURL" />
</div>
</div>
</div>
</nav>