我正在使用带有 Twitter Bootstrap 的 Google Maps API V3,这就是我得到的。标记甚至不能被识别为标记,缩放工具也不见了。
似乎 Twitter boostrap 正在搞乱地图画布的样式是否有办法排除某个元素被某个框架设置样式?或者只是简单地重置地图画布上的样式,使其不受 twitter bootstrap 样式表的影响?
除了 twitter bootstrap 的样式之外,还有一些代码:
<style type="text/css">
html { height: 100% }
body{ height: 100%; margin: 0; padding: 0 }
</style>