GInfoWindowTab equivalent in Google Maps API v3

时光怂恿深爱的人放手 提交于 2019-12-10 18:11:56

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/6389778/ginfowindowtab-equivalent-in-google-maps-api-v3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!