forked from MapComplete/MapComplete
Fix: don't show both counts and summary at the same time
This commit is contained in:
parent
ee7b584907
commit
d6dbecace2
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
||||||
const summaryTileSource = new SummaryTileSource(
|
const summaryTileSource = new SummaryTileSource(
|
||||||
url.protocol + "//" + url.host + "/summary",
|
url.protocol + "//" + url.host + "/summary",
|
||||||
layers.map((l) => l.id),
|
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,
|
this.mapProperties,
|
||||||
{
|
{
|
||||||
isActive: this.mapProperties.zoom.map((z) => z <= maxzoom),
|
isActive: this.mapProperties.zoom.map((z) => z <= maxzoom),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue