GInfoWindowTab等同于Google Maps API v3 [英] GInfoWindowTab equivalent in Google Maps API v3

查看:97
本文介绍了GInfoWindowTab等同于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



有谁知道,如何取代该功能或模仿它?

解决方案InfoBubble实用程序库(位于Maps API V3之上的库)提供了此功能。



请参阅:
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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆