Skip to content

Commit

Permalink
decrese minZoom
Browse files Browse the repository at this point in the history
fixes #65
  • Loading branch information
jacobsjo committed Dec 23, 2024
1 parent de4fc53 commit dbf4860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MainMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit dbf4860

Please sign in to comment.