fysoul17 / google_maps_place_picker

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

Restrict northeast and southwest or provide Polygon #58

Closed edwin-alvarez closed 4 years ago

edwin-alvarez commented 4 years ago

is there any way we can allow address selection only in a given Polygon

fysoul17 commented 4 years ago

The short answer is No.

Since the package uses Google map's place API which does not provide the function you want, it is currently not available with this package.

You may need to write your own code using other Google map APIs with Google Map flutter package.

edwin-alvarez commented 4 years ago

noted, I added an issue under Flutter repo,

Restricting Map Bounds)

You can close this if you want, once flutter enables the option I'll probably request the option to send the new settings to the base map...

fysoul17 commented 4 years ago

Will close as there is no further action I cloud support.

Please feel free to re-open the issue when flutter's Google Map package supports the functionality and if there is something I can support.