diff --git a/lib/www/client/source/src/views/Map.vue b/lib/www/client/source/src/views/Map.vue index c513047..9f9a2f1 100644 --- a/lib/www/client/source/src/views/Map.vue +++ b/lib/www/client/source/src/views/Map.vue @@ -190,6 +190,18 @@ :indeterminate="loadingProgress === null" :value="loadingProgress" >{{ Math.round(loadingProgress) }}% +
+ mdi-cloud-refresh-variant-outline +
+ + + +
+
@@ -535,6 +547,15 @@ export default { } }, + async refresh () { + const cache = await caches.open("dougal"); + for (const key of await cache.keys()) { + cache.delete(key); + } + await this.$root.sleep(300); + this.getSequenceData(); + }, + sequencesBBox (margin = 0.1) { let [ λ0, φ0, λ1, φ1 ] = [ +Infinity, +Infinity, -Infinity, -Infinity ];