开发者

How to adjust the position of infowindow in Google Maps V3

开发者 https://www.devze.com 2023-03-07 16:49 出处:网络
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

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

精彩评论

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