From b122998082c271e19dca7c9fe1947b9faeee7b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poussard?= <tpoussard@neogeo.fr> Date: Tue, 7 Sep 2021 14:50:50 +0200 Subject: [PATCH] center map on France by default & comments mocked data --- src/store/modules/map.js | 4 ++-- src/views/feature/Feature_detail.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/map.js b/src/store/modules/map.js index d8202f6b..a1721b49 100644 --- a/src/store/modules/map.js +++ b/src/store/modules/map.js @@ -119,8 +119,8 @@ const map = { actions: { INITIATE_MAP({ state, rootGetters, dispatch }) { const project = rootGetters.project - let mapDefaultViewCenter = [37.7749, -122.4194]; // defaultMapView.center; - let mapDefaultViewZoom = 13; // defaultMapView.zoom; + let mapDefaultViewCenter = [46, 2]; // defaultMapView.center; + let mapDefaultViewZoom = 5; // defaultMapView.zoom; mapUtil.createMap({ mapDefaultViewCenter, mapDefaultViewZoom, diff --git a/src/views/feature/Feature_detail.vue b/src/views/feature/Feature_detail.vue index 3c83de28..fd24d87e 100644 --- a/src/views/feature/Feature_detail.vue +++ b/src/views/feature/Feature_detail.vue @@ -397,7 +397,7 @@ export default { relation_type: "Doublon", feature_to: { title: "Éolienne offshore", - creator: "Babar", + creator: "Mr Dupont", created_on: new Date().toDateString(), feature_type: { title: "Éolienne", -- GitLab