fluttercommunity/flutter_google_places

Address filtration in autocomplete

votruk opened this issue · 0 comments

I use autocomplete and I want to get results with addresses only.

In the Android version of SDK, you can find TypeFilter.ADDRESS for that occasion (https://developers.google.com/maps/documentation/places/android-sdk/reference/com/google/android/libraries/places/api/model/TypeFilter)

In the iOS version of SDK you have kGMSPlacesAutocompleteTypeFilterAddress (https://developers.google.com/maps/documentation/places/ios-sdk/reference/group___places_autocomplete_type_filter)

I wasn't able to find in what list of types the mentioned constants are converting. Can anybody provide more details on how can I achieve address filtering through types? Thanks!