We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b9e3b8 commit 3c0fdadCopy full SHA for 3c0fdad
utils/geolocations.ts
@@ -77,7 +77,7 @@ export function haversineDistanceMeters(
77
* @param trackPoints - Array of track points with lat/long coordinates
78
* @returns ICoordinates containing the centroid's latitude and longitude, or null if array is empty
79
*/
80
-export function calculate_centroid(trackPoints: ICoordinates[]): ICoordinates | null {
+export function calculateCentroid(trackPoints: ICoordinates[]): ICoordinates | null {
81
let coordinates: ICoordinates | null;
82
83
if (trackPoints.length === 0) {
0 commit comments