Merge branch 'master' into develop

This commit is contained in:
Pieter Vander Vennet 2024-12-09 20:08:03 +01:00
commit 93bbd5d0b8
44 changed files with 1522 additions and 378 deletions

View file

@ -170,6 +170,9 @@ export class ImageUploadManager {
}
if (location === undefined || location?.some((l) => l === undefined)) {
feature ??= this._indexedFeatures.featuresById.data.get(featureId)
if(feature === undefined){
throw "ImageUploadManager: no feature given and no feature found in the indexedFeature. Cannot upload this image"
}
location = GeoOperations.centerpointCoordinates(feature)
}
try {