Browse Source

Add default map center to avoid error on launch

Gautier P 10 months ago
parent
commit
af8d864c38
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      flatisfy/web/js_src/components/flatsmap.vue

+ 2
- 2
flatisfy/web/js_src/components/flatsmap.vue View File

@@ -46,9 +46,9 @@ export default {
46 46
                 fillColor: '#e4ce7f',
47 47
                 fillOpacity: 1
48 48
             },
49
-            center: null,
49
+            center: [46.449, 2.210],
50 50
             zoom: {
51
-                defaultZoom: 13,
51
+                defaultZoom: 6,
52 52
                 minZoom: 5,
53 53
                 maxZoom: 17
54 54
             },