fixed dispatch eslint errors

This commit is contained in:
PxlLoewe
2025-07-10 00:35:34 -07:00
parent eec72a51b8
commit a9a4f1617a
47 changed files with 396 additions and 185 deletions

View File

@@ -36,6 +36,7 @@ export function findClosestPolygon(
const polygon = toPolygonFeature(way.nodes);
if (!polygon) continue;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const center = centroid(polygon as any).geometry.coordinates; // [lon, lat]
const newDistance = distance([referencePoint.lon, referencePoint.lat], center);