Skip to content

How to programatically zoom and pan <GeoSearch /> ? #5307

Discussion options

You must be logged in to vote

If you need to only set the initial position, you can use the initialPosition prop.

If you need to programmatically change the position, you would need to use connectGeoSearch() with the refine() prop.

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by everdrone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Library: React InstantSearch < 7 Issues in any of the react-instantsearch@6 packages
2 participants