1
我遇到了在由RVD中的plotGoogleMaps創建的Internet Explorer版本11中呈現Google地圖時遇到的問題。以下代碼來自包隨附的教程:plotGoogleMaps html文件在Internet Explorer版本11中無法正常打開
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)下打開該文件時,圖例框從左側一直延伸到屏幕的右側,有效地覆蓋了地圖的一部分。
這裏是一個形象:
這裏任何幫助將非常感激。