Merge develop

This commit is contained in:
Pieter Vander Vennet 2024-02-21 19:17:42 +01:00
commit 7c5170da15
193 changed files with 4011 additions and 4462 deletions

View file

@ -788,7 +788,7 @@ export class GeoOperations {
return undefined
}
return GeoOperations.centerpointCoordinates(feature)
case "polygon_centerpoint":
case "polygon_centroid":
if (feature.geometry.type === "Polygon") {
return GeoOperations.centerpointCoordinates(feature)
}
@ -817,7 +817,7 @@ export class GeoOperations {
}
return undefined
default:
throw "Unkown location type: " + location
throw "Unkown location type: " + location+" for feature "+feature.properties.id
}
}