Fix: fix some fallout from updating turf to 7.2.0, make 'bbox'-attribute in line with the actual spec

This commit is contained in:
Pieter Vander Vennet 2025-02-07 01:09:00 +01:00
parent c67baa1c65
commit 12869321fd
2 changed files with 29 additions and 36 deletions

View file

@ -99,7 +99,7 @@ export class GeoOperations {
if (feature === undefined || feature === null) {
return undefined
}
return <[number, number]>turf.center(<turf.Feature>feature).geometry.coordinates
return <[number, number]>turf.center(feature).geometry.coordinates
}
/**