1

I am working on a map using Fusion Tables and would like to have the info window pop up when the user searches a country, or selects a country from the selection list.

The map is here: https://mywebspace.wisc.edu/csterling/web/index.html

My goal is to have the info window pop-up when the user selects/searches a country and zooms to that country.

EDIT: I would like the info-window to have the same information as it does when a polygon is clicked.

4

1 回答 1

1

这是一个示例,它显示了如何创建从可单击侧边栏打开的信息窗口。信息窗口内容由使用 google 可视化库的 FusionTable 查询中的数据填充。不会直接适用,但演示了这个概念。您需要修改 openFtInfoWindow 以显示表中的数据。

这是您的地图,其中包含在使用下拉菜单或文本搜索时打开的信息窗口

于 2012-07-13T18:44:58.363 回答