将Google Spreadsheets中的数据插入Google地图

时间:2012-03-19 23:01:52

标签: google-maps-api-3

是否有一种仅限JavaScript的直接方法来从Google电子表格中读取信息并使用它在Google地图(V3)中生成标记,InfoWindows等?

我已经完成了一些搜索并找到了电子表格到地图的向导,但它适用于V2: http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm

另外,我读到了将Spreadsheets转换为Fusion Tables,然后从FT绘图。但是,有直接的方法吗?我试过Fusion Tables,它似乎对InfoWindows做了一些我无法控制的魔法。

在看了一些之后,似乎Spreadsheets API是唯一的方法。是否有更简单的东西?

也许我错过了一些明显的东西,请指出给我。

1 个答案:

答案 0 :(得分:0)

我发现有Google Spreadsheet和Docs API,但似乎并不值得。

更好地使用Fusion Table API。