fluttercommunity / flutter_google_places

Google Places - Google places autocomplete widgets for flutter. No wrapper, use https://pub.dev/packages/google_maps_webservice. Maintainer: @juliansteenbakker
https://pub.dev/packages/flutter_google_places
Other
305 stars 422 forks source link

Regions don't seem to work #112

Closed Pureshores closed 2 years ago

Pureshores commented 4 years ago

tried region: "country,administrative_area_level_1,administrative_area_level_2" but still returns results at a street level

daiagi commented 4 years ago

from the Places autocomplete documentation: In general, only a single type is allowed. The exception is that you can safely mix the geocode and establishment types, but note that this will have the same effect as specifying no types.

you can use types: ['(regions)'] instead