Google Fusion Table's Info Windows with Multiple Tabs

一笑奈何 提交于 2019-12-11 21:08:55

问题


I created a new Google Fusion Table, my objective is to show up reviews of a person to certain places like restaurants and other establishments. My row contains several columns and it will appear better if the info window will be divided into three tabs. Is it possible to do this? I have read some articles that say that Google Fusion Tables' info window layout does not support JavaScript, and thinking of creating this multiple tab layout is difficult with this situation.

ADD: Here's the code of how I am retrieving data from my Google Fusion Tables:

    layer = new google.maps.FusionTablesLayer({
    map: map,
    query: {
        select: "col1",
        from: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
    },
    options: {
        styleId: 3,
        templateId: 3
    }
});

How will I use google.maps.FusionTablesLayer to create Google Maps Markers?


回答1:


If you replace the FusionTables default infoWindow with InfoBubbles, you can add tabs.

Note this would involve using the Google Maps API v3 to display the map (wouldn't work in the native FusionTables UI)



来源:https://stackoverflow.com/questions/16646940/google-fusion-tables-info-windows-with-multiple-tabs

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