Feature: second iteration of clustering

This commit is contained in:
Pieter Vander Vennet 2025-07-21 22:02:04 +02:00
parent 8360ab9a8b
commit 5bc8f11d24
3 changed files with 25 additions and 5 deletions

View file

@ -8,7 +8,8 @@ import { Utils } from "../../../Utils"
import { TagsFilter } from "../../Tags/TagsFilter"
import { BBox } from "../../BBox"
import { OsmTags } from "../../../Models/OsmFeature"
;("use strict")
("use strict")
/**
* A wrapper around the 'Overpass'-object.
@ -138,7 +139,6 @@ export default class OverpassFeatureSource implements UpdatableFeatureSource {
return undefined
}
this.runningQuery.setData(true)
console.trace("Overpass feature source: querying geojson")
data = (await overpass.queryGeoJson(bounds))[0]
} catch (e) {
this.retries.data++