openlayers加载地图没有图片时有红叉的解决方法

解决方式:设置样式隐藏图片

<style type="text/css">

.olImageLoadError
{
/*ol2.12 onImageLoadError no longer exists, replace */
display: none !important;
}

</style>

posted on 2014-11-26 21:16  janehlp  阅读(389)  评论(0编辑  收藏  举报