how to get the results only for india country
dev-vishnupundhir opened this issue · 2 comments
dev-vishnupundhir commented
now this npm give the suggestions for the all country how we can restrict it only for india
cedricdelpoux commented
You should take a look to the optional parameters listed here
alanpoon commented
You can look at the type definition
autocompletionRequest={{
input: search,
componentRestrictions:{country:"in"}
// Optional options
// https://developers.google.com/maps/documentation/javascript/reference?hl=fr#AutocompletionRequest
}}