解决方式:设置样式隐藏图片 <style type="text/css"> .olImageLoadError { /*ol2.12 onImageLoadError no longer exists, replace */ display: none !important; } </style>
openlayers加载地图没有图片时有红叉的解决方法
原文:http://www.cnblogs.com/janehlp/p/4124936.html