From e8add0c0e24755284a152e5eefa717883c28b182 Mon Sep 17 00:00:00 2001 From: viglino Date: Fri, 15 Nov 2024 11:38:36 +0100 Subject: [PATCH] [TYPO] --- control/toolbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control/toolbar.js b/control/toolbar.js index 205eded..22ebfee 100644 --- a/control/toolbar.js +++ b/control/toolbar.js @@ -250,7 +250,7 @@ function addDrawTools(carte, tools, layer) { ctrl.dispatchEvent({ type: 'import:start' }) drawLayer.getSource().addFeatures(e.features); notification.cancel( - e.features.length + ' objects chargés', + e.features.length + ' objets chargés', () => { carte.getMap().getView().fit(drawLayer.getSource().getExtent()); if (carte.getMap().getView().getZoom() > 16) { @@ -336,7 +336,7 @@ function addOptionImport(carte) { layer.getSource().addFeatures(e.features); carte.getMap().addLayer(layer); notification.cancel( - e.features.length + ' objects chargés', + e.features.length + ' objets chargés', () => { carte.getMap().getView().fit(layer.getSource().getExtent()); if (carte.getMap().getView().getZoom() > 16) {