From d6dbecace26b9dc52da61d19b767469190a0e8be Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 21 Mar 2024 23:44:29 +0100 Subject: [PATCH] Fix: don't show both counts and summary at the same time --- src/Models/ThemeViewState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/ThemeViewState.ts b/src/Models/ThemeViewState.ts index fb7a8e98d..8a3b7b75c 100644 --- a/src/Models/ThemeViewState.ts +++ b/src/Models/ThemeViewState.ts @@ -687,7 +687,7 @@ export default class ThemeViewState implements SpecialVisualizationState { const summaryTileSource = new SummaryTileSource( url.protocol + "//" + url.host + "/summary", layers.map((l) => l.id), - this.mapProperties.zoom.map((z) => Math.max(Math.ceil(z), 0)), + this.mapProperties.zoom.map((z) => Math.max(Math.floor(z), 0)), this.mapProperties, { isActive: this.mapProperties.zoom.map((z) => z <= maxzoom),