我正在尝试在网站上嵌入地方详细信息 . 我可以使用iframe和src =“http ...”轻松嵌入/显示google streetview api,

但尝试使用类似于https://developers.google.com/places/web-service/autocomplete中的“https://maps.googleapis.com/maps/api/place/autocomplete/xml?input=Amoeba&types=establishment&location=37.76999,-122.44696&radius=500&key=YOUR_API_KEY”的示例嵌入/显示自动填充位置详细信息似乎不起作用,在iframe中没有显示任何内容,并且在Google Developer Console概述中我发生了'm seeing '客户端错误(4xx)'相信关键是好的,但其他错误 .

这应该只是使用iframe在网页上工作还是我错过了什么?