Split summary-server constant

This commit is contained in:
Pieter Vander Vennet 2024-06-12 15:03:10 +02:00
parent d434ed0492
commit 8f5be4f742
4 changed files with 5 additions and 3 deletions

View file

@ -690,9 +690,8 @@ export default class ThemeViewState implements SpecialVisualizationState {
l.source.geojsonSource === undefined &&
l.doCount
)
const url = new URL(Constants.VectorTileServer)
const summaryTileSource = new SummaryTileSource(
url.protocol + "//" + url.host + "/summary",
Constants.SummaryServer,
layers.map((l) => l.id),
this.mapProperties.zoom.map((z) => Math.max(Math.floor(z), 0)),
this.mapProperties,