shukerullah / react-geocode

A React module to transform a description of a location (i.e. street address, town name, etc.) into geographic coordinates (i.e. latitude and longitude) and vice versa.
MIT License
207 stars 35 forks source link

Get all components of address #17

Closed anasyo10 closed 5 years ago

anasyo10 commented 6 years ago

Is there any way to get all components of address from latlng:

douglasrcjames commented 5 years ago

Bump

jsib0 commented 5 years ago

@anasyo10 you are able to do this by parsing the response.results. As the module uses Google Maps Geocoding API, you are able to parse through your listed params. Hope this helps.