chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-04-15 18:18:44 +02:00
parent 79b6927b56
commit 42ded4c1b1
328 changed files with 4062 additions and 1284 deletions

View file

@ -25,8 +25,7 @@ export default class GeoIndexedStore implements FeatureSource {
*/
public GetFeaturesWithin(bbox: BBox): Feature[] {
const bboxFeature = bbox.asGeojsonCached()
return this.features.data.filter((f) =>
GeoOperations.completelyWithin(f, bboxFeature))
return this.features.data.filter((f) => GeoOperations.completelyWithin(f, bboxFeature))
}
}

View file

@ -64,7 +64,7 @@ export default class ChangeGeometryApplicator implements FeatureSource {
// Allright! We have a feature to rewrite!
const copy = {
...feature
...feature,
}
// We only apply the last change as that one'll have the latest geometry
const change = changesForFeature[changesForFeature.length - 1]