开发者

How to adjust the position of infowindow in Google Maps V3

How to fit the infowindow in Google Maps v3 so that it will appear开发者_运维知识库 full?


InfoWindow have a minimum height, this is pretty much unavoidable. It will expand to contain any content taller then the mimimum. You can override the expand behavior by forcing your content to be a specific height.

Extra info: http://code.google.com/apis/maps/documentation/javascript/reference.html#InfoWindowOptions

An option is to not use InfoWindow and roll your own "bubble" that is opened on click.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜