I’m trying to investigate the feasibility of the following use case.
A user searches for the following phrase.
hospitals near 48103
If a user types in “near”, anything after that word will be a location.
I will turn that location into coordinates using Google’s Geocoding API.
I then want to add something like
'aroundLatLng' => '42.279594, -83.732124' to my query.
Is there a way to do this with Instant Search or with the API?