【问题标题】:GInfoWindowTab equivalent in Google Maps API v3Google Maps API v3 中的 GInfoWindowTab 等效项
【发布时间】:2011-09-17 09:37:56
【问题描述】:

在 Google Maps API v2 中:GInfoWindowTab(title,content) - 将弹出窗口中的信息拆分为多个部分。

例如:

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

有谁知道,如何替换或模仿该功能?

【问题讨论】:

    标签: google-maps google-maps-api-3 infowindow


    【解决方案1】:

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

    见: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-07-17
      • 2013-09-15
      • 1970-01-01
      • 2012-06-10
      • 2023-04-01
      • 1970-01-01
      • 2013-02-19
      相关资源
      最近更新 更多