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

Question: Disabling the search/autocomplete bar #171

Open
LukeStonehm opened this issue May 6, 2022 · 3 comments
Open

Question: Disabling the search/autocomplete bar #171

LukeStonehm opened this issue May 6, 2022 · 3 comments

Comments

@LukeStonehm
Copy link

Good day,

I've been looking through the options, but I don't see a way to disable to search bar. It is possible to do so? If not, could I extend the class to do so?

Thanks in advance <3

@martin-braun
Copy link
Contributor

Out of curiosity, why would you want to do that?

@LukeStonehm
Copy link
Author

@martin-braun basically just want the marker / picker functionality. I've already got a bunch of UI relating to autocomplete that would replace the built-in.

@martin-braun
Copy link
Contributor

martin-braun commented May 9, 2022

@LukeStonehm A great portion of this package contains the auto complete widget.

If I get it right, you also need to be able to set the place from outside, since you have your own auto complete.

I wonder if it really makes sense to use this package instead of just using the Google Maps one yourself then? Do you even need the dragging of the picker on the map?

If you have your own auto complete and use this package, you would probably have redundancy when it comes to the geolocator.

Maybe you could take an hour and check the code of this package to see if it really makes sense to use this package. I'd love to here your thoughts on that. Please don't just say it makes sense to outsource some work load. I consider to expand this package, but it just needs to make sense and I also need to figure out how to implement it properly, so it works for you.

I'm not convinced, yet, but if I start to be convinced, I will definitely look into this for my fork that is also available on pub.dev. There are a few possible scenarios in my head, like having the ability to provide a builder for the auto complete widget, or exposing the geo locator, a visibility toggle and the target location that the picker will animate to.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants