OpenLayers与Bootstrap样式冲突的解决

来源:互联网 发布:js单选按钮默认选中 编辑:程序博客网 时间:2024/05/30 04:12

在引入Bootstrap响应式布局样式后,OpenLayers图层瓦片会显示异常,在页面中加入以下样式可以解决:

<style>    img.olTileImage {        max-width: none;    }</style>
参见:http://openlayers.org/dev/examples/bootstrap.html


0 0