我将Google地图嵌入到Wordpress网站中。 iframe上周工作正常,例如:
echo "<iframe width='100%' height='300' frameborder='0' src='https://www.google.com/maps/embed/v1/place?key=mykey&q=".urlencode($loclatlong)."'></iframe>";
但是,当现在显示在页面上时,我看到以下错误:
Google Maps API服务器拒绝了您的请求。非法请求。 意外的参数&#39;安全&#39;。
在检查时,请求的网址是:
GET https://www.google.com/maps/embed/v1/place?key=mykey&q=51.513164%2C+-0.07576&safe=active 400(不良请求)
这在哪里安全&#39;来自的参数以及为什么它会被附加到我的iframe请求中?