Skip to content

Commit

Permalink
[TYPO]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Nov 15, 2024
1 parent b86142d commit e8add0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions control/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit e8add0c

Please sign in to comment.