Ale*_*lex 3 google-maps infowindow google-maps-api-3
在Google Maps API v2:GInfoWindowTab(标题,内容)中 - 将弹出窗口中的信息拆分为多个部分.
例如:
tab1 = new GInfoWindowTab('Tab 1', 'Content of tab 1');
tab2 = new GInfoWindowTab('Tab 2', 'Content of tab 2');
Run Code Online (Sandbox Code Playgroud)
等等.
在Google Maps API v3中,此功能不起作用.
最新的相应官方参考文献中没有此功能:http: //code.google.com/intl/ru/apis/maps/documentation/javascript/reference.html#InfoWindow
有谁知道,如何更换该功能或模仿它?
InfoBubble实用程序库(位于Maps API V3之上的库)提供此功能.
请参阅:http: //google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html