forked from MapComplete/MapComplete
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:
parent
c67baa1c65
commit
12869321fd
2 changed files with 29 additions and 36 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue