You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! This API is a amazing and a huge time saver for me. I was wondering if it would be possible to add getters to the location object for the address components returned by Geocoding responses?
I see you've already added Postal Code (getPostalCode()),
Would it be possible to add: the other components? Google recommends using these to store the formatted address into a database as opposed to actually parsing the formatted_address returned in the response.
Hi there! This API is a amazing and a huge time saver for me. I was wondering if it would be possible to add getters to the location object for the address components returned by Geocoding responses?
Source:
https://developers.google.com/maps/documentation/geocoding/intro#GeocodingResponses
I see you've already added Postal Code (getPostalCode()),
Would it be possible to add: the other components? Google recommends using these to store the formatted address into a database as opposed to actually parsing the formatted_address returned in the response.
Proposed types per Geocoding Responses:
"types" : [ "street_number" ]
"types" : [ "route" ]
"types" : [ "locality", "political" ]
"types" : [ "administrative_area_level_2", "political" ]
"types" : [ "administrative_area_level_1", "political" ]
"types" : [ "country", "political" ]
The text was updated successfully, but these errors were encountered: