PlacesSearch component should apply a GeoDistance query
siddharthlatest opened this issue · 1 comments
siddharthlatest commented
Currently, PlacesSearch applies a match query using the input value on the specified appbaseField
prop. Instead, PlacesSearch component should be using a GeoDistance query with a range of 10mi from the {lat, lng} of the input location.
There should also be a prop doNotExecuteQuery
which can be set to true
to prevent running any query when the inputs change.