我可以在 Google 地图自动完成的 setComponentRestrictions 中添加多少个国家

How many countries can I add in the setComponentRestrictions in Google Map autocomplete

我将在 Google 地图自动完成中的 setComponentRestrictions 数组中添加一些国家,这样只有那些国家的地址才能在自动完成中被过滤。 但我看到只有前 5 个国家为此工作,而不是我添加的所有国家 有没有人可以帮我解决这个问题?

提前致谢

目前,Google地图自动完成限制最多可以识别 5 个国家