开发者

Yahoo Maps Setting Smartwindow Dimensions

开发者 https://www.devze.com 2023-02-19 23:04 出处:网络
I am looking to be able to change the dimensions of smartwindows I have set to appear 开发者_如何学Gowhenever a given marker is clicked.The default sizing mechanism is not producing windows that are w

I am looking to be able to change the dimensions of smartwindows I have set to appear 开发者_如何学Gowhenever a given marker is clicked. The default sizing mechanism is not producing windows that are wide enough. Checked the Yahoo Maps API but couldnt find any way to pass dimensions to a smart window. Is it even possible?


couldnt find any solution that would pass parameters to the smartwindow function, but in any case i managed a workaround by setting CSS styles for the html elements i was rendering inside the smart windows. how the dimensions for a smart window are calculated without specifying dimensions for elements within the window is still unclear to me (as it did not reflect standard styling) so in any case if anyone has a more elegant solution additions are still welcome.

0

精彩评论

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

关注公众号