From a05ee6de8faa59181943600791fd6b75dc9a935c Mon Sep 17 00:00:00 2001 From: bel Date: Wed, 11 Mar 2026 18:33:57 -0600 Subject: [PATCH] 5m --- cmd/maps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/maps.go b/cmd/maps.go index 8efb963..ad2a8da 100644 --- a/cmd/maps.go +++ b/cmd/maps.go @@ -57,7 +57,7 @@ func (m *Maps) Search(ctx context.Context, query string) ([]Location, error) { a := m.around.Lat - results[i].Lat b := m.around.Lng - results[i].Lng dist := math.Sqrt(a*a + b*b) - shouldKeep = dist*convertToMiles < 20.0 + shouldKeep = dist*convertToMiles < 5.0 } if !shouldKeep { results = append(results[:i], results[i+1:]...)