Status Update
Comments
sh...@google.com <sh...@google.com> #2
Thanks for your report,
Please note that this is a duplicate ofhttps://b.corp.google.com/issues/118634810 .
With regards to your concern, the only workaround for this is use the autocomplete service before geocoding in order to restrict up to 5 countries.
Please note that this is a duplicate of
With regards to your concern, the only workaround for this is use the autocomplete service before geocoding in order to restrict up to 5 countries.
Description
# It is OK to share your API Project ID, but _not_ API keys.
Feature Request
-----------------------
What would you like to see us add to this API?
I would like Geocoder to support multiple countries in their GeocoderComponentRestrictions, like Google Places Autocomplete ComponentRestrictions does.
My company is working on a project that uses both Autocomplete and Geocoder, and we need them restricted to a list of countries.
Autocomplete provides support for up to five countries in the following format:
`string|Array<string>`
Geocoder only allows one country in the following format:
`string`
Thank you,
Ali Arfeen