GInfoWindowTab等同于Google Maps API v3 [英] GInfoWindowTab equivalent in Google Maps API v3
问题描述
在Google Maps API v2中: GInfoWindowTab (标题,内容) - 将弹出窗口中的信息拆分为部分。 / p>
tab1 = new GInfoWindowTab('Tab 1','Content of tab 1');
tab2 = new GInfoWindowTab('Tab 2','Content of tab 2');
等等。
在Google Maps API v3此功能不起作用。
最新相应的官方参考资料中没有这样的功能:
http://code.google.com/intl/ru/apis/maps/documentation/javascript/reference.html#InfoWindow
有谁知道,如何取代该功能或模仿它?
请参阅:
http:// google-maps-utility-library -v3.googlecode.com/svn/trunk/infobubble/examples/example.html
In Google Maps API v2: GInfoWindowTab(title,content) - to split information in the popup-windows into parts.
For example:
tab1 = new GInfoWindowTab('Tab 1', 'Content of tab 1');
tab2 = new GInfoWindowTab('Tab 2', 'Content of tab 2');
and so on.
In Google Maps API v3 this function doesn't work.
And there isn't such function in the latest corresponding official reference: http://code.google.com/intl/ru/apis/maps/documentation/javascript/reference.html#InfoWindow
Does anybody know, how to replace that function or imitate it?
The InfoBubble utility library (a library that sits on top of Maps API V3) provides this functionality.
See: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html
这篇关于GInfoWindowTab等同于Google Maps API v3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!