Fix summary URL

This commit is contained in:
Pieter Vander Vennet 2024-07-12 22:50:51 +02:00
parent 8390b9c541
commit 7dc4755a1d
2 changed files with 3 additions and 3 deletions

View file

@ -114,7 +114,7 @@ export class SummaryTileSource extends DynamicTileSource {
): Store<Feature<Point>[]> {
const [z, x, y] = Tiles.tile_from_index(tileIndex)
let coordinates = Tiles.centerPointOf(z, x, y)
const url = `${cacheserver}/${layersSummed}/${z}/${x}/${y}.json`
const url = `${cacheserver}/summary/${layersSummed}/${z}/${x}/${y}.json`
const count = UIEventSource.FromPromiseWithErr(Utils.downloadJson(url))
return count.mapD((count) => {
if (count["error"] !== undefined) {