forked from MapComplete/MapComplete
Split summary-server constant
This commit is contained in:
parent
d434ed0492
commit
8f5be4f742
4 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue