Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix centroid calculation. Bump turf to v6.5 #7115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 19, 2024
Prev Previous commit
Next Next commit
fix computeBbox
  • Loading branch information
birkskyum committed Aug 19, 2024
commit 715e4ffc8c99184dd53cd628ab1618c475f71370
2 changes: 1 addition & 1 deletion 2 src/lib/geo_location_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function fetchTraceGeoData(calcData) {
// TODO `turf/bbox` gives wrong result when the input feature/geometry
// crosses the anti-meridian. We should try to implement our own bbox logic.
function computeBbox(d) {
return turfBbox.default(d);
return turfBbox(d);
}

module.exports = {
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.