Internet Explorer 11 中的 Google 地图 "Sorry, we have no imagery here"

GoogleMaps "Sorry, we have no imagery here" in InternetExplorer 11

我们正在使用 google 地图在地图上显示公司位置。它目前在 Chrome、Firefox 和 Safari 中仍然有效,但是在今天的 IE 11 中,我们注意到 none 的图块正在加载,我们得到带有文字 "Sorry, we have no imagery here" 的灰色图块。我检查了网络选项卡,看起来,图块请求正在尝试从显示地图的域中获取图块,而不是从 google 服务器中获取它们。

我尝试将版本参数更改为 v=weeklyv=3.3.6,但它仍然表现相同。

地图是这样嵌入的: <script src="https://maps.googleapis.com/maps/api/js?key={API_KEY}&v=3.exp" defer></script>

在 IE11 中,磁贴请求如下所示:

https://example.com/google-maps-page/undefinedpb=!1m5!1m4!1i6!2i34!3i21!4i256!2m3!1e0!2sm!3i480189574!3m14!2sen-US!3sUS!5e18!12m1!1e68!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcy50OjJ8cy5lOmx8cC52Om9mZg!4e0&key={API_KEY}&token={TOKEN}

在 chrome 中,工作磁贴请求如下所示: https://maps.googleapis.com/maps/vt?pb=!1m5!1m4!1i6!2i31!3i22!4i256!2m3!1e0!2sm!3i480189574!3m14!2sde-DE!3sUS!5e18!12m1!1e68!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcy50OjJ8cy5lOmx8cC52Om9mZg!4e0!5m1!5f2&key={API_KEY}&token={TOKEN}

我们也遇到了同样的问题。 切换到 v=3.36 暂时解决了这个问题,但是 3.36 将在下一次更新中删除,它将默认为 "v=quarterly" 响应。

我遇到了同样的问题,我的站点正在使用 es6-shims 库,但是一旦我将其更改为 core-js 库,google maps 3.38 在 IE11 中运行良好,不确定是否这是 google 地图问题或 es6-shims 问题。

没有任何 shim google maps 3.38 在 IE11 中工作,所以问题可能是 es6-shims 和最新的 google maps

不兼容