码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-11-26 22:18:28      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:style   sp   on   ad   type   方法   text   br   css   

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

<style type="text/css">

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

</style>

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

标签:style   sp   on   ad   type   方法   text   br   css   

原文地址:http://www.cnblogs.com/janehlp/p/4124936.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!