From af8d864c38bcf67c07dc887de0b947c6fc458341 Mon Sep 17 00:00:00 2001 From: Gautier P Date: Thu, 14 Jan 2021 17:46:17 +0100 Subject: [PATCH] Add default map center to avoid error on launch --- flatisfy/web/js_src/components/flatsmap.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flatisfy/web/js_src/components/flatsmap.vue b/flatisfy/web/js_src/components/flatsmap.vue index 5115ca6..08d4d93 100644 --- a/flatisfy/web/js_src/components/flatsmap.vue +++ b/flatisfy/web/js_src/components/flatsmap.vue @@ -46,9 +46,9 @@ export default { fillColor: '#e4ce7f', fillOpacity: 1 }, - center: null, + center: [46.449, 2.210], zoom: { - defaultZoom: 13, + defaultZoom: 6, minZoom: 5, maxZoom: 17 },