Skip to content

Commit 715e4ff

Browse files
committed
fix computeBbox
1 parent 917c05d commit 715e4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/geo_location_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function fetchTraceGeoData(calcData) {
362362
// TODO `turf/bbox` gives wrong result when the input feature/geometry
363363
// crosses the anti-meridian. We should try to implement our own bbox logic.
364364
function computeBbox(d) {
365-
return turfBbox.default(d);
365+
return turfBbox(d);
366366
}
367367

368368
module.exports = {

0 commit comments

Comments
 (0)