fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
224 stars 364 forks source link

Decouple search field from map #50

Closed giorgio79 closed 4 years ago

giorgio79 commented 4 years ago

Perhaps, you could integrate with one of these

fysoul17 commented 4 years ago

Hi @giorgio79, Thanks for the suggestion. ;) It will help ones who want to fork and use in their own way.

However, decoupling isn't a big issue in terms of coding. I can just put an optional parameter to turn it off. The issue is the purpose of the package. The package originally made for users to pick the location by using autocomplete search and by dragging the pin which is the secondary option to pick.

So making the main function as optional sounds weird for me. I will think about providing an optional parameter on the next version, but I am not sure whether it will be useful for most cases.

giorgio79 commented 4 years ago

Yeah just an idea. Maybe not optional, but breaking it apart in the backend may make it more manageable. :)

abrantesarthur commented 3 years ago

Hi there,

I understand that removing the search field would go against the primary purpose of the package, but I would also greatly appreciate if you could introduce an optional parameter to turn it off. I have a use case where such a feature would be awesome.

Thank you so much for your contribution!!