From e2a1d0efee9341035b58529f993fe54c5b636cfd Mon Sep 17 00:00:00 2001 From: Matthias Betz <matthias.betz@hft-stuttgart.de> Date: Thu, 21 Nov 2024 13:26:49 +0100 Subject: [PATCH] increase loops for hiding models for more consistency in actual hiding --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index c4600e3..aa0091a 100644 --- a/src/index.js +++ b/src/index.js @@ -20,7 +20,7 @@ const hidingFeatures = []; const hidingListener = function(tile) { let allHidden = true; for (const featureToHide of hidingFeatures) { - if (featureToHide.loops < 3) { + if (featureToHide.loops < 10) { allHidden = false; const feature = tile.content.getFeature(featureToHide.id); if (feature !== undefined) { @@ -366,7 +366,7 @@ export default function smartVillagesPlugin(config, baseUrl) { actions.push({ id: 'delete', - name: 'Objekt löschen', + name: 'Objekt entfernen', callback() { vcsApp.maps.activeMap.getEntities().remove(model); removePlacedModel(model); -- GitLab