Fixed: Fix map center on opening or editing address

This commit is contained in:
2022-12-22 19:29:56 +01:00
parent ce17f5f5c0
commit 4d3d9db1b3
5 changed files with 61 additions and 32 deletions

View File

@@ -310,8 +310,8 @@ export default {
// Note: LeafletJs demands [lat, lon]
// cfr https://macwright.com/lonlat/
center : [
this.context.defaults.map_center.x,
this.context.defaults.map_center.y
this.context.defaults.map_center.x,
this.context.defaults.map_center.y,
],
zoom: this.context.defaults.map_center.z
},