问题
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