Skip to content

Conversation

@glondono
Copy link

Use an extra option parameter componentType to specify what kind of results do you want on details filtering the address_component type of the result, following the types expressed on https://developers.google.com/maps/documentation/javascript/geocoding.

In this case we can specify the following option:

options = { componentType : 'administrative_area_level_2' }

to get in our details the county information address_component

Use an extra option parameter componentType to specify what kind of results do you want on details filtering the address_component type of the result, following the types expressed on https://developers.google.com/maps/documentation/javascript/geocoding. 

In this case we can specify the following option:

options = { componentType : 'administrative_area_level_2' } 

to get in our details the county information address_component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant