在Google中,v2:GInfoWindowTab(标题,内容)--将弹出窗口中的信息分割成几个部分。
例如:
tab1 = new GInfoWindowTab('Tab 1', 'Content of tab 1');
tab2 = new GInfoWindowTab('Tab 2', 'Content of tab 2');诸若此类。
在Google v3中,这个函数不起作用。
在最新的相应的官方参考文献中没有这样的函数:http://code.google.com/intl/ru/apis/maps/documentation/javascript/reference.html#InfoWindow
有人知道如何替换或模仿这个功能吗?
发布于 2011-08-14 05:45:09
InfoBubble实用程序库(位于Maps V3之上的库)提供了此功能。
请参阅:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html
https://stackoverflow.com/questions/6389778
复制相似问题