From 106f1725bc517923351908772444431808f6a126 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 28 May 2024 13:52:02 +0200 Subject: [PATCH] minor tweak to location bias parameters, #390 --- src/sidebar/search/AddressInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sidebar/search/AddressInput.tsx b/src/sidebar/search/AddressInput.tsx index ccf2f8d6..1aea0c47 100644 --- a/src/sidebar/search/AddressInput.tsx +++ b/src/sidebar/search/AddressInput.tsx @@ -293,7 +293,7 @@ class Geocoder { await this.timeout.wait() try { - const options: Record = bias ? { point: coordinateToText(bias), location_bias_scale: "0.6" } : {} + const options: Record = bias ? { point: coordinateToText(bias), location_bias_scale: "0.5", zoom: "9" } : {} const result = await this.api.geocode(query, provider, options) const hits = Geocoder.filterDuplicates(result.hits) if (currentId === this.requestId) this.onSuccess(query, provider, hits)