plotGoogleMaps html 文件无法在 Internet Explorer 版本 11 中正确打开

plotGoogleMaps html files do not open correctly in Internet Explorer version 11

我 运行 在 Internet Explorer 版本 11 中渲染 Google 地图时出现问题,该地图是由 R 中的 plotGoogleMaps 创建的。以下代码来自随附的教程附带包裹:

require(plotGoogleMaps)
# Data preparation
# Point data
data(meuse)
coordinates(meuse)<-~x+y 
# convert to SPDF 
proj4string(meuse) <- CRS('+init=epsg:28992') 
# adding Coordinate Referent Sys.
# Create web map of Point data 
m<-plotGoogleMaps(meuse,filename='myMap1.htm')

当您在 IE 10 下打开 myMap1.htm 文件时,它会正确呈现。当您在 IE 11 (Windows 8.1) 下打开此文件时,图例框从左侧一直延伸到屏幕右侧,有效地覆盖了一部分地图。

这是一张图片:

如有任何帮助,我们将不胜感激。

今天收到来自 Microsoft Connect 的消息,我向他们提交的问题已关闭。我尝试了上面的脚本,html 地图现在可以正确呈现。我正在使用 IE 11.0.9600.17728。谢谢!