Replace map initial center/zoom config with auto fitting

Closes #23
This commit is contained in:
Linus Groh
2020-03-01 20:28:15 +00:00
parent bb81daaea4
commit 3b18ab58ed
4 changed files with 13 additions and 32 deletions
+8
View File
@@ -232,5 +232,13 @@ export default {
}));
},
},
watch: {
lastLocations() {
this.fitView();
},
locationHistory() {
this.fitView();
},
},
};
</script>