Setting an initial bounding box using useGeoSearch doesn't send the param with the query #6610
Answered
by
Haroenv
wesleyjanse
asked this question in
Q&A
-
Hey, We use the useGeoSearch hook for our store search in our checkout. we don't have a "visual" map, we geocode the data latlng via the places api from google. I want to set an initial bounding area on the InstantSearch provider but I cant get it to work. For demo purposes it is a hardcoded box.
Any idea on how to get this working? |
Beta Was this translation helpful? Give feedback.
Answered by
Haroenv
Mar 26, 2025
Replies: 1 comment 2 replies
-
You want to use initialUiState for that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there's this doc: https://www.algolia.com/doc/api-reference/widgets/ui-state/react/