Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package(autocomplete): Add function to obtain predictions in geocode methods #104

Open
tbor00 opened this issue Dec 29, 2022 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed package/autocomplete Autocomplete and geocoding package

Comments

@tbor00
Copy link
Owner

tbor00 commented Dec 29, 2022

Is your feature request related to a problem? Please describe.
Getting predictions out of the hook could be a great advantage if we did not use react, we could add it and use it without the need for our project to have react.

Describe the solution you'd like
Add method to obtain predictions like as:

const getPredictions = () => {
  const autocomplete = new libPlaces.AutocompleteService()
  autocomplete.getPlacePredictions({})
}

Similar of this:

Captura de Pantalla 2022-12-29 a la(s) 17 11 37

@tbor00 tbor00 added enhancement New feature or request help wanted Extra attention is needed labels Dec 29, 2022
@tbor00 tbor00 changed the title package(autocomplete): Add function to obtain predictions in geoCode package(autocomplete): Add function to obtain predictions in geocode methods Dec 29, 2022
@tbor00 tbor00 added the package/autocomplete Autocomplete and geocoding package label Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed package/autocomplete Autocomplete and geocoding package
Projects
None yet
Development

No branches or pull requests

1 participant