我们突然注意到 Google WMT 热门内容关键字中有“图像”和“抱歉”。此外,当使用“site:domain +imagery”搜索 Google 时,其描述中会显示“抱歉,我们这里没有图像...”。
我已经搜索过了,避免这种情况的唯一方法就是用静态 map 替换 Google map 。还有其他方法可以解决这个问题吗?
这是 Google map 错误吗?或者我只是错过了什么?
顺便说一句,我只是在 Google map 上绘制公司标记(每页 10 个)。
最佳答案
另一种可能性是当 Google Bot 访问您的页面时不初始化 Google map ,如 this answer 中所述。关于网站管理员。
var isGoogleBot = navigator.userAgent.toLowerCase().indexOf('googlebot') > -1;
if (isGoogleBot)
return; // "Sorry, we have no imagery here" BUG
else
// Setup the map
关于google-maps-api-3 - 抱歉,我们这里没有图像... - Google 索引页面 | WMT内容关键词|谷歌机器人,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23074241/