From dbf4860f9d291289d664f7a9790a4ca15f354722 Mon Sep 17 00:00:00 2001 From: Jochen Jacobs Date: Mon, 23 Dec 2024 23:39:04 +0100 Subject: [PATCH] decrese minZoom fixes #65 --- src/components/MainMap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MainMap.vue b/src/components/MainMap.vue index f9b4589..7ee9a23 100644 --- a/src/components/MainMap.vue +++ b/src/components/MainMap.vue @@ -187,7 +187,7 @@ function updateMarkers() { minZoom = -2 } else if (set.placement instanceof StructurePlacement.RandomSpreadStructurePlacement) { const chunkFrequency = (set.placement.frequency) / (set.placement.spacing * set.placement.spacing) - minZoom = -Math.log2(1/(chunkFrequency * 256)) + minZoom = -Math.log2(1/(chunkFrequency * 128)) } if (map.getZoom() >= minZoom){