address: better default zoom when choosing an address

This commit is contained in:
nobohan
2021-06-11 14:42:08 +02:00
parent 1b709d39a4
commit f22461af1b
2 changed files with 1 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ export default {
update() {
console.log('update map with : ', this.address.addressMap.center)
marker.setLatLng(this.address.addressMap.center);
map.setView(this.address.addressMap.center, 12);
map.setView(this.address.addressMap.center, 15);
}
},
mounted(){