开发者

How to set height of google maps infoWindow?

I have a marker with an info window here http://waterski.allthingswebdesign.com/index.php/site/directions and if you click the marker, the info window has a scroll bar. I don't want that scroll bar to be there. How can I make it so the height is calculated correctly without adding a scrol开发者_开发知识库lbar?


you can do it like this,

div.infowindow {
    max-height:250px;
    overflow-y:auto;
}

this may be work good. Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜