fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
222 stars 357 forks source link

How to separate city name, state name, country name, pincode from selected place ? #80

Closed aTeamSolace closed 3 years ago

aTeamSolace commented 3 years ago

After selecting any location ill get the location address and also lat long. But I want to separate this all data like city, state, country, etc how we can achieve that?

fysoul17 commented 3 years ago

You might want to use [addressComponents] of the result. More info on Google Docs.